home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-04-27 | 2.9 MB | [ONLN/HLX2] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Aug 3 06:00:51 1992, modified Wed Apr 27 06:10:24 1994, creator 'HLX2', type 'ONLN', 2960982 bytes "IM�Memory" , at 0x2d2ed6 67414 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
50%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [ONLN] |
macFileCreator | [HLX2] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 49 4d d1 4d 65 6d | 6f 72 79 00 00 00 00 00 |..IM.Mem|ory.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 2d 2e 56 00 | 01 07 56 a6 a2 b4 53 a9 |....-.V.|..V...S.|
|00000060| e3 ea 90 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 bd f3 00 00 |........|........|
|00000080| 49 4e 53 49 44 45 20 4d | 41 43 49 4e 54 4f 53 48 |INSIDE M|ACINTOSH|
|00000090| 0d 4d 65 6d 6f 72 79 0d | f0 20 41 70 70 6c 65 20 |.Memory.|. Apple |
|000000a0| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 0d a9 |Computer|, Inc...|
|000000b0| 20 3c 24 79 65 61 72 5c | 3e 2c 20 41 70 70 6c 65 | <$year\|>, Apple|
|000000c0| 20 43 6f 6d 70 75 74 65 | 72 2c 20 49 6e 63 2e 0d | Compute|r, Inc..|
|000000d0| 41 6c 6c 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |All righ|ts reser|
|000000e0| 76 65 64 2e 20 0d 4e 6f | 20 70 61 72 74 20 6f 66 |ved. .No| part of|
|000000f0| 20 74 68 69 73 20 70 75 | 62 6c 69 63 61 74 69 6f | this pu|blicatio|
|00000100| 6e 20 6d 61 79 20 62 65 | 20 72 65 70 72 6f 64 75 |n may be| reprodu|
|00000110| 63 65 64 2c 20 73 74 6f | 72 65 64 20 69 6e 20 61 |ced, sto|red in a|
|00000120| 20 72 65 74 72 69 65 76 | 61 6c 20 73 79 73 74 65 | retriev|al syste|
|00000130| 6d 2c 20 6f 72 20 74 72 | 61 6e 73 6d 69 74 74 65 |m, or tr|ansmitte|
|00000140| 64 2c 20 69 6e 20 61 6e | 79 20 66 6f 72 6d 20 6f |d, in an|y form o|
|00000150| 72 20 62 79 20 61 6e 79 | 20 6d 65 61 6e 73 2c 20 |r by any| means, |
|00000160| 6d 65 63 68 61 6e 69 63 | 61 6c 2c 20 65 6c 65 63 |mechanic|al, elec|
|00000170| 74 72 6f 6e 69 63 2c 20 | 70 68 6f 74 6f 63 6f 70 |tronic, |photocop|
|00000180| 79 69 6e 67 2c 20 72 65 | 63 6f 72 64 69 6e 67 2c |ying, re|cording,|
|00000190| 20 6f 72 20 6f 74 68 65 | 72 77 69 73 65 2c 20 77 | or othe|rwise, w|
|000001a0| 69 74 68 6f 75 74 20 70 | 72 69 6f 72 20 77 72 69 |ithout p|rior wri|
|000001b0| 74 74 65 6e 20 70 65 72 | 6d 69 73 73 69 6f 6e 20 |tten per|mission |
|000001c0| 6f 66 20 41 70 70 6c 65 | 20 43 6f 6d 70 75 74 65 |of Apple| Compute|
|000001d0| 72 2c 20 49 6e 63 2e 20 | 50 72 69 6e 74 65 64 20 |r, Inc. |Printed |
|000001e0| 69 6e 20 74 68 65 20 55 | 6e 69 74 65 64 20 53 74 |in the U|nited St|
|000001f0| 61 74 65 73 20 6f 66 20 | 41 6d 65 72 69 63 61 2e |ates of |America.|
|00000200| 0d 4e 6f 20 6c 69 63 65 | 6e 73 65 73 2c 20 65 78 |.No lice|nses, ex|
|00000210| 70 72 65 73 73 20 6f 72 | 20 69 6d 70 6c 69 65 64 |press or| implied|
|00000220| 2c 20 61 72 65 20 67 72 | 61 6e 74 65 64 20 77 69 |, are gr|anted wi|
|00000230| 74 68 20 72 65 73 70 65 | 63 74 20 74 6f 20 61 6e |th respe|ct to an|
|00000240| 79 20 6f 66 20 74 68 65 | 20 74 65 63 68 6e 6f 6c |y of the| technol|
|00000250| 6f 67 79 20 64 65 73 63 | 72 69 62 65 64 20 69 6e |ogy desc|ribed in|
|00000260| 20 74 68 69 73 20 62 6f | 6f 6b 2e 20 41 70 70 6c | this bo|ok. Appl|
|00000270| 65 20 72 65 74 61 69 6e | 73 20 61 6c 6c 20 69 6e |e retain|s all in|
|00000280| 74 65 6c 6c 65 63 74 75 | 61 6c 20 70 72 6f 70 65 |tellectu|al prope|
|00000290| 72 74 79 20 72 69 67 68 | 74 73 20 61 73 73 6f 63 |rty righ|ts assoc|
|000002a0| 69 61 74 65 64 20 77 69 | 74 68 20 74 68 65 20 74 |iated wi|th the t|
|000002b0| 65 63 68 6e 6f 6c 6f 67 | 79 20 64 65 73 63 72 69 |echnolog|y descri|
|000002c0| 62 65 64 20 69 6e 20 74 | 68 69 73 20 62 6f 6f 6b |bed in t|his book|
|000002d0| 2e 20 54 68 69 73 20 62 | 6f 6f 6b 20 69 73 20 69 |. This b|ook is i|
|000002e0| 6e 74 65 6e 64 65 64 20 | 74 6f 20 61 73 73 69 73 |ntended |to assis|
|000002f0| 74 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 64 65 |t applic|ation de|
|00000300| 76 65 6c 6f 70 65 72 73 | 20 74 6f 20 64 65 76 65 |velopers| to deve|
|00000310| 6c 6f 70 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |lop appl|ications|
|00000320| 20 6f 6e 6c 79 20 66 6f | 72 20 41 70 70 6c 65 20 | only fo|r Apple |
|00000330| 4d 61 63 69 6e 74 6f 73 | 68 20 63 6f 6d 70 75 74 |Macintos|h comput|
|00000340| 65 72 73 2e 0d 41 70 70 | 6c 65 20 43 6f 6d 70 75 |ers..App|le Compu|
|00000350| 74 65 72 2c 20 49 6e 63 | 2e 0d 32 30 35 32 35 20 |ter, Inc|..20525 |
|00000360| 4d 61 72 69 61 6e 69 20 | 41 76 65 6e 75 65 0d 43 |Mariani |Avenue.C|
|00000370| 75 70 65 72 74 69 6e 6f | 2c 20 43 41 20 39 35 30 |upertino|, CA 950|
|00000380| 31 34 2d 36 32 39 39 0d | 34 30 38 2d 39 39 36 2d |14-6299.|408-996-|
|00000390| 31 30 31 30 0d 41 70 70 | 6c 65 2c 20 74 68 65 20 |1010.App|le, the |
|000003a0| 41 70 70 6c 65 20 6c 6f | 67 6f 2c 20 41 50 44 41 |Apple lo|go, APDA|
|000003b0| 2c 20 41 70 70 6c 65 53 | 68 61 72 65 2c 20 41 2f |, AppleS|hare, A/|
|000003c0| 55 58 2c 20 4c 61 73 65 | 72 57 72 69 74 65 72 2c |UX, Lase|rWriter,|
|000003d0| 20 4d 61 63 69 6e 74 6f | 73 68 2c 20 4d 50 57 2c | Macinto|sh, MPW,|
|000003e0| 20 61 6e 64 20 4d 75 6c | 74 69 46 69 6e 64 65 72 | and Mul|tiFinder|
|000003f0| 20 61 72 65 20 74 72 61 | 64 65 6d 61 72 6b 73 20 | are tra|demarks |
|00000400| 6f 66 20 41 70 70 6c 65 | 20 43 6f 6d 70 75 74 65 |of Apple| Compute|
|00000410| 72 2c 20 49 6e 63 2e 2c | 20 72 65 67 69 73 74 65 |r, Inc.,| registe|
|00000420| 72 65 64 20 69 6e 20 74 | 68 65 20 55 6e 69 74 65 |red in t|he Unite|
|00000430| 64 20 53 74 61 74 65 73 | 20 61 6e 64 20 6f 74 68 |d States| and oth|
|00000440| 65 72 20 63 6f 75 6e 74 | 72 69 65 73 2e 0d 46 69 |er count|ries..Fi|
|00000450| 6e 64 65 72 2c 20 50 6f | 77 65 72 42 6f 6f 6b 2c |nder, Po|werBook,|
|00000460| 20 61 6e 64 20 51 75 69 | 63 6b 44 72 61 77 20 61 | and Qui|ckDraw a|
|00000470| 72 65 20 74 72 61 64 65 | 6d 61 72 6b 73 20 6f 66 |re trade|marks of|
|00000480| 20 41 70 70 6c 65 20 43 | 6f 6d 70 75 74 65 72 2c | Apple C|omputer,|
|00000490| 20 49 6e 63 2e 0d 41 64 | 6f 62 65 20 49 6c 6c 75 | Inc..Ad|obe Illu|
|000004a0| 73 74 72 61 74 6f 72 20 | 61 6e 64 20 50 6f 73 74 |strator |and Post|
|000004b0| 53 63 72 69 70 74 20 61 | 72 65 20 74 72 61 64 65 |Script a|re trade|
|000004c0| 6d 61 72 6b 73 20 6f 66 | 20 41 64 6f 62 65 20 53 |marks of| Adobe S|
|000004d0| 79 73 74 65 6d 73 20 49 | 6e 63 6f 72 70 6f 72 61 |ystems I|ncorpora|
|000004e0| 74 65 64 2c 20 77 68 69 | 63 68 20 6d 61 79 20 62 |ted, whi|ch may b|
|000004f0| 65 20 72 65 67 69 73 74 | 65 72 65 64 20 69 6e 20 |e regist|ered in |
|00000500| 63 65 72 74 61 69 6e 20 | 6a 75 72 69 73 64 69 63 |certain |jurisdic|
|00000510| 74 69 6f 6e 73 2e 0d 41 | 47 46 41 20 69 73 20 61 |tions..A|GFA is a|
|00000520| 20 74 72 61 64 65 6d 61 | 72 6b 20 6f 66 20 41 67 | tradema|rk of Ag|
|00000530| 66 61 2d 47 65 76 61 65 | 72 74 2e 0d 46 72 61 6d |fa-Gevae|rt..Fram|
|00000540| 65 4d 61 6b 65 72 20 69 | 73 20 61 20 72 65 67 69 |eMaker i|s a regi|
|00000550| 73 74 65 72 65 64 20 74 | 72 61 64 65 6d 61 72 6b |stered t|rademark|
|00000560| 20 6f 66 20 46 72 61 6d | 65 20 54 65 63 68 6e 6f | of Fram|e Techno|
|00000570| 6c 6f 67 79 20 43 6f 72 | 70 6f 72 61 74 69 6f 6e |logy Cor|poration|
|00000580| 2e 0d 48 65 6c 76 65 74 | 69 63 61 20 61 6e 64 20 |..Helvet|ica and |
|00000590| 50 61 6c 61 74 69 6e 6f | 20 61 72 65 20 72 65 67 |Palatino| are reg|
|000005a0| 69 73 74 65 72 65 64 20 | 74 72 61 64 65 6d 61 72 |istered |trademar|
|000005b0| 6b 73 20 6f 66 20 4c 69 | 6e 6f 74 79 70 65 20 43 |ks of Li|notype C|
|000005c0| 6f 6d 70 61 6e 79 2e 0d | 49 54 43 20 5a 61 70 66 |ompany..|ITC Zapf|
|000005d0| 20 44 69 6e 67 62 61 74 | 73 20 69 73 20 61 20 72 | Dingbat|s is a r|
|000005e0| 65 67 69 73 74 65 72 65 | 64 20 74 72 61 64 65 6d |egistere|d tradem|
|000005f0| 61 72 6b 20 6f 66 20 49 | 6e 74 65 72 6e 61 74 69 |ark of I|nternati|
|00000600| 6f 6e 61 6c 20 54 79 70 | 65 66 61 63 65 20 43 6f |onal Typ|eface Co|
|00000610| 72 70 6f 72 61 74 69 6f | 6e 2e 0d 4e 75 42 75 73 |rporatio|n..NuBus|
|00000620| 20 69 73 20 61 20 74 72 | 61 64 65 6d 61 72 6b 20 | is a tr|ademark |
|00000630| 6f 66 20 54 65 78 61 73 | 20 49 6e 73 74 72 75 6d |of Texas| Instrum|
|00000640| 65 6e 74 73 2e 0d 53 69 | 6d 75 6c 74 61 6e 65 6f |ents..Si|multaneo|
|00000650| 75 73 6c 79 20 70 75 62 | 6c 69 73 68 65 64 20 69 |usly pub|lished i|
|00000660| 6e 20 74 68 65 20 55 6e | 69 74 65 64 20 53 74 61 |n the Un|ited Sta|
|00000670| 74 65 73 20 61 6e 64 20 | 43 61 6e 61 64 61 2e 0d |tes and |Canada..|
|00000680| 4c 49 4d 49 54 45 44 20 | 57 41 52 52 41 4e 54 59 |LIMITED |WARRANTY|
|00000690| 20 4f 4e 20 4d 45 44 49 | 41 20 41 4e 44 20 52 45 | ON MEDI|A AND RE|
|000006a0| 50 4c 41 43 45 4d 45 4e | 54 0d 41 4c 4c 20 49 4d |PLACEMEN|T.ALL IM|
|000006b0| 50 4c 49 45 44 20 57 41 | 52 52 41 4e 54 49 45 53 |PLIED WA|RRANTIES|
|000006c0| 20 4f 4e 20 54 48 49 53 | 20 4d 41 4e 55 41 4c 2c | ON THIS| MANUAL,|
|000006d0| 20 49 4e 43 4c 55 44 49 | 4e 47 20 49 4d 50 4c 49 | INCLUDI|NG IMPLI|
|000006e0| 45 44 20 57 41 52 52 41 | 4e 54 49 45 53 20 4f 46 |ED WARRA|NTIES OF|
|000006f0| 20 4d 45 52 43 48 41 4e | 54 41 42 49 4c 49 54 59 | MERCHAN|TABILITY|
|00000700| 20 41 4e 44 20 46 49 54 | 4e 45 53 53 20 46 4f 52 | AND FIT|NESS FOR|
|00000710| 20 41 20 50 41 52 54 49 | 43 55 4c 41 52 20 50 55 | A PARTI|CULAR PU|
|00000720| 52 50 4f 53 45 2c 20 41 | 52 45 20 4c 49 4d 49 54 |RPOSE, A|RE LIMIT|
|00000730| 45 44 20 49 4e 20 44 55 | 52 41 54 49 4f 4e 20 54 |ED IN DU|RATION T|
|00000740| 4f 20 4e 49 4e 45 54 59 | 20 28 39 30 29 20 44 41 |O NINETY| (90) DA|
|00000750| 59 53 20 46 52 4f 4d 20 | 54 48 45 20 44 41 54 45 |YS FROM |THE DATE|
|00000760| 20 4f 46 20 54 48 45 20 | 4f 52 49 47 49 4e 41 4c | OF THE |ORIGINAL|
|00000770| 20 52 45 54 41 49 4c 20 | 50 55 52 43 48 41 53 45 | RETAIL |PURCHASE|
|00000780| 20 4f 46 20 54 48 49 53 | 20 50 52 4f 44 55 43 54 | OF THIS| PRODUCT|
|00000790| 2e 0d 45 76 65 6e 20 74 | 68 6f 75 67 68 20 41 70 |..Even t|hough Ap|
|000007a0| 70 6c 65 20 68 61 73 20 | 72 65 76 69 65 77 65 64 |ple has |reviewed|
|000007b0| 20 74 68 69 73 20 6d 61 | 6e 75 61 6c 2c 20 41 50 | this ma|nual, AP|
|000007c0| 50 4c 45 20 4d 41 4b 45 | 53 20 4e 4f 20 57 41 52 |PLE MAKE|S NO WAR|
|000007d0| 52 41 4e 54 59 20 4f 52 | 20 52 45 50 52 45 53 45 |RANTY OR| REPRESE|
|000007e0| 4e 54 41 54 49 4f 4e 2c | 20 45 49 54 48 45 52 20 |NTATION,| EITHER |
|000007f0| 45 58 50 52 45 53 53 20 | 4f 52 20 49 4d 50 4c 49 |EXPRESS |OR IMPLI|
|00000800| 45 44 2c 20 57 49 54 48 | 20 52 45 53 50 45 43 54 |ED, WITH| RESPECT|
|00000810| 20 54 4f 20 54 48 49 53 | 20 4d 41 4e 55 41 4c 2c | TO THIS| MANUAL,|
|00000820| 20 49 54 53 20 51 55 41 | 4c 49 54 59 2c 20 41 43 | ITS QUA|LITY, AC|
|00000830| 43 55 52 41 43 59 2c 20 | 4d 45 52 43 48 41 4e 54 |CURACY, |MERCHANT|
|00000840| 41 42 49 4c 49 54 59 2c | 20 4f 52 20 46 49 54 4e |ABILITY,| OR FITN|
|00000850| 45 53 53 20 46 4f 52 20 | 41 20 50 41 52 54 49 43 |ESS FOR |A PARTIC|
|00000860| 55 4c 41 52 20 50 55 52 | 50 4f 53 45 2e 20 41 53 |ULAR PUR|POSE. AS|
|00000870| 20 41 20 52 45 53 55 4c | 54 2c 20 54 48 49 53 20 | A RESUL|T, THIS |
|00000880| 4d 41 4e 55 41 4c 20 49 | 53 20 53 4f 4c 44 20 d2 |MANUAL I|S SOLD .|
|00000890| 41 53 20 49 53 2c d3 20 | 41 4e 44 20 59 4f 55 2c |AS IS,. |AND YOU,|
|000008a0| 20 54 48 45 20 50 55 52 | 43 48 41 53 45 52 2c 20 | THE PUR|CHASER, |
|000008b0| 41 52 45 20 41 53 53 55 | 4d 49 4e 47 20 54 48 45 |ARE ASSU|MING THE|
|000008c0| 20 45 4e 54 49 52 45 20 | 52 49 53 4b 20 41 53 20 | ENTIRE |RISK AS |
|000008d0| 54 4f 20 49 54 53 20 51 | 55 41 4c 49 54 59 20 41 |TO ITS Q|UALITY A|
|000008e0| 4e 44 20 41 43 43 55 52 | 41 43 59 2e 0d 49 4e 20 |ND ACCUR|ACY..IN |
|000008f0| 4e 4f 20 45 56 45 4e 54 | 20 57 49 4c 4c 20 41 50 |NO EVENT| WILL AP|
|00000900| 50 4c 45 20 42 45 20 4c | 49 41 42 4c 45 20 46 4f |PLE BE L|IABLE FO|
|00000910| 52 20 44 49 52 45 43 54 | 2c 20 49 4e 44 49 52 45 |R DIRECT|, INDIRE|
|00000920| 43 54 2c 20 53 50 45 43 | 49 41 4c 2c 20 49 4e 43 |CT, SPEC|IAL, INC|
|00000930| 49 44 45 4e 54 41 4c 2c | 20 4f 52 20 43 4f 4e 53 |IDENTAL,| OR CONS|
|00000940| 45 51 55 45 4e 54 49 41 | 4c 20 44 41 4d 41 47 45 |EQUENTIA|L DAMAGE|
|00000950| 53 20 52 45 53 55 4c 54 | 49 4e 47 20 46 52 4f 4d |S RESULT|ING FROM|
|00000960| 20 41 4e 59 20 44 45 46 | 45 43 54 20 4f 52 20 49 | ANY DEF|ECT OR I|
|00000970| 4e 41 43 43 55 52 41 43 | 59 20 49 4e 20 54 48 49 |NACCURAC|Y IN THI|
|00000980| 53 20 4d 41 4e 55 41 4c | 2c 20 65 76 65 6e 20 69 |S MANUAL|, even i|
|00000990| 66 20 61 64 76 69 73 65 | 64 20 6f 66 20 74 68 65 |f advise|d of the|
|000009a0| 20 70 6f 73 73 69 62 69 | 6c 69 74 79 20 6f 66 20 | possibi|lity of |
|000009b0| 73 75 63 68 20 64 61 6d | 61 67 65 73 2e 0d 54 48 |such dam|ages..TH|
|000009c0| 45 20 57 41 52 52 41 4e | 54 59 20 41 4e 44 20 52 |E WARRAN|TY AND R|
|000009d0| 45 4d 45 44 49 45 53 20 | 53 45 54 20 46 4f 52 54 |EMEDIES |SET FORT|
|000009e0| 48 20 41 42 4f 56 45 20 | 41 52 45 20 45 58 43 4c |H ABOVE |ARE EXCL|
|000009f0| 55 53 49 56 45 20 41 4e | 44 20 49 4e 20 4c 49 45 |USIVE AN|D IN LIE|
|00000a00| 55 20 4f 46 20 41 4c 4c | 20 4f 54 48 45 52 53 2c |U OF ALL| OTHERS,|
|00000a10| 20 4f 52 41 4c 20 4f 52 | 20 57 52 49 54 54 45 4e | ORAL OR| WRITTEN|
|00000a20| 2c 20 45 58 50 52 45 53 | 53 20 4f 52 20 49 4d 50 |, EXPRES|S OR IMP|
|00000a30| 4c 49 45 44 2e 20 4e 6f | 20 41 70 70 6c 65 20 64 |LIED. No| Apple d|
|00000a40| 65 61 6c 65 72 2c 20 61 | 67 65 6e 74 2c 20 6f 72 |ealer, a|gent, or|
|00000a50| 20 65 6d 70 6c 6f 79 65 | 65 20 69 73 20 61 75 74 | employe|e is aut|
|00000a60| 68 6f 72 69 7a 65 64 20 | 74 6f 20 6d 61 6b 65 20 |horized |to make |
|00000a70| 61 6e 79 20 6d 6f 64 69 | 66 69 63 61 74 69 6f 6e |any modi|fication|
|00000a80| 2c 20 65 78 74 65 6e 73 | 69 6f 6e 2c 20 6f 72 20 |, extens|ion, or |
|00000a90| 61 64 64 69 74 69 6f 6e | 20 74 6f 20 74 68 69 73 |addition| to this|
|00000aa0| 20 77 61 72 72 61 6e 74 | 79 2e 0d 53 6f 6d 65 20 | warrant|y..Some |
|00000ab0| 73 74 61 74 65 73 20 64 | 6f 20 6e 6f 74 20 61 6c |states d|o not al|
|00000ac0| 6c 6f 77 20 74 68 65 20 | 65 78 63 6c 75 73 69 6f |low the |exclusio|
|00000ad0| 6e 20 6f 72 20 6c 69 6d | 69 74 61 74 69 6f 6e 20 |n or lim|itation |
|00000ae0| 6f 66 20 69 6d 70 6c 69 | 65 64 20 77 61 72 72 61 |of impli|ed warra|
|00000af0| 6e 74 69 65 73 20 6f 72 | 20 6c 69 61 62 69 6c 69 |nties or| liabili|
|00000b00| 74 79 20 66 6f 72 20 69 | 6e 63 69 64 65 6e 74 61 |ty for i|ncidenta|
|00000b10| 6c 20 6f 72 20 63 6f 6e | 73 65 71 75 65 6e 74 69 |l or con|sequenti|
|00000b20| 61 6c 20 64 61 6d 61 67 | 65 73 2c 20 73 6f 20 74 |al damag|es, so t|
|00000b30| 68 65 20 61 62 6f 76 65 | 20 6c 69 6d 69 74 61 74 |he above| limitat|
|00000b40| 69 6f 6e 20 6f 72 20 65 | 78 63 6c 75 73 69 6f 6e |ion or e|xclusion|
|00000b50| 20 6d 61 79 20 6e 6f 74 | 20 61 70 70 6c 79 20 74 | may not| apply t|
|00000b60| 6f 20 79 6f 75 2e 20 54 | 68 69 73 20 77 61 72 72 |o you. T|his warr|
|00000b70| 61 6e 74 79 20 67 69 76 | 65 73 20 79 6f 75 20 73 |anty giv|es you s|
|00000b80| 70 65 63 69 66 69 63 20 | 6c 65 67 61 6c 20 72 69 |pecific |legal ri|
|00000b90| 67 68 74 73 2c 20 61 6e | 64 20 79 6f 75 20 6d 61 |ghts, an|d you ma|
|00000ba0| 79 20 61 6c 73 6f 20 68 | 61 76 65 20 6f 74 68 65 |y also h|ave othe|
|00000bb0| 72 20 72 69 67 68 74 73 | 20 77 68 69 63 68 20 76 |r rights| which v|
|00000bc0| 61 72 79 20 66 72 6f 6d | 20 73 74 61 74 65 20 74 |ary from| state t|
|00000bd0| 6f 20 73 74 61 74 65 2e | 0d 49 53 42 4e 20 30 2d |o state.|.ISBN 0-|
|00000be0| 32 30 31 2d 36 33 32 34 | 30 2d 33 0d 31 20 32 20 |201-6324|0-3.1 2 |
|00000bf0| 33 20 34 20 35 20 36 20 | 37 20 38 20 39 2d 4d 55 |3 4 5 6 |7 8 9-MU|
|00000c00| 2d 39 36 39 35 39 34 39 | 33 39 32 0d 46 69 72 73 |-9695949|392.Firs|
|00000c10| 74 20 50 72 69 6e 74 69 | 6e 67 2c 20 41 75 67 75 |t Printi|ng, Augu|
|00000c20| 73 74 20 31 39 39 32 0d | 43 6f 6e 74 65 6e 74 73 |st 1992.|Contents|
|00000c30| 0d 46 69 67 75 72 65 73 | 2c 20 54 61 62 6c 65 73 |.Figures|, Tables|
|00000c40| 2c 20 61 6e 64 20 4c 69 | 73 74 69 6e 67 73 14 14 |, and Li|stings..|
|00000c50| 69 78 0d 50 72 65 66 61 | 63 65 09 41 62 6f 75 74 |ix.Prefa|ce.About|
|00000c60| 20 54 68 69 73 20 42 6f | 6f 6b 14 14 78 69 0d 46 | This Bo|ok..xi.F|
|00000c70| 6f 72 6d 61 74 20 6f 66 | 20 61 20 54 79 70 69 63 |ormat of| a Typic|
|00000c80| 61 6c 20 43 68 61 70 74 | 65 72 14 14 78 69 69 0d |al Chapt|er..xii.|
|00000c90| 43 6f 6e 76 65 6e 74 69 | 6f 6e 73 20 55 73 65 64 |Conventi|ons Used|
|00000ca0| 20 69 6e 20 54 68 69 73 | 20 42 6f 6f 6b 14 14 78 | in This| Book..x|
|00000cb0| 69 69 0d 53 70 65 63 69 | 61 6c 20 46 6f 6e 74 73 |ii.Speci|al Fonts|
|00000cc0| 14 14 78 69 69 0d 54 79 | 70 65 73 20 6f 66 20 4e |..xii.Ty|pes of N|
|00000cd0| 6f 74 65 73 14 14 78 69 | 69 69 0d 41 73 73 65 6d |otes..xi|ii.Assem|
|00000ce0| 62 6c 79 2d 4c 61 6e 67 | 75 61 67 65 20 49 6e 66 |bly-Lang|uage Inf|
|00000cf0| 6f 72 6d 61 74 69 6f 6e | 14 14 78 69 69 69 0d 44 |ormation|..xiii.D|
|00000d00| 65 76 65 6c 6f 70 6d 65 | 6e 74 20 45 6e 76 69 72 |evelopme|nt Envir|
|00000d10| 6f 6e 6d 65 6e 74 14 14 | 78 69 76 0d 43 68 61 70 |onment..|xiv.Chap|
|00000d20| 74 65 72 20 31 09 49 6e | 74 72 6f 64 75 63 74 69 |ter 1.In|troducti|
|00000d30| 6f 6e 20 74 6f 20 4d 65 | 6d 6f 72 79 20 4d 61 6e |on to Me|mory Man|
|00000d40| 61 67 65 6d 65 6e 74 14 | 14 31 2d 31 0d 41 62 6f |agement.|.1-1.Abo|
|00000d50| 75 74 20 4d 65 6d 6f 72 | 79 14 14 31 2d 34 0d 4f |ut Memor|y..1-4.O|
|00000d60| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 20 6f 66 20 4d |rganizat|ion of M|
|00000d70| 65 6d 6f 72 79 20 62 79 | 20 74 68 65 20 4f 70 65 |emory by| the Ope|
|00000d80| 72 61 74 69 6e 67 20 53 | 79 73 74 65 6d 14 14 31 |rating S|ystem..1|
|00000d90| 2d 34 0d 54 68 65 20 53 | 79 73 74 65 6d 20 48 65 |-4.The S|ystem He|
|00000da0| 61 70 14 14 31 2d 36 0d | 54 68 65 20 53 79 73 74 |ap..1-6.|The Syst|
|00000db0| 65 6d 20 47 6c 6f 62 61 | 6c 20 56 61 72 69 61 62 |em Globa|l Variab|
|00000dc0| 6c 65 73 14 14 31 2d 36 | 0d 4f 72 67 61 6e 69 7a |les..1-6|.Organiz|
|00000dd0| 61 74 69 6f 6e 20 6f 66 | 20 4d 65 6d 6f 72 79 20 |ation of| Memory |
|00000de0| 69 6e 20 61 6e 20 41 70 | 70 6c 69 63 61 74 69 6f |in an Ap|plicatio|
|00000df0| 6e 20 50 61 72 74 69 74 | 69 6f 6e 14 14 31 2d 37 |n Partit|ion..1-7|
|00000e00| 0d 54 68 65 20 41 70 70 | 6c 69 63 61 74 69 6f 6e |.The App|lication|
|00000e10| 20 53 74 61 63 6b 14 14 | 31 2d 38 0d 54 68 65 20 | Stack..|1-8.The |
|00000e20| 41 70 70 6c 69 63 61 74 | 69 6f 6e 20 48 65 61 70 |Applicat|ion Heap|
|00000e30| 14 14 31 2d 39 0d 54 68 | 65 20 41 70 70 6c 69 63 |..1-9.Th|e Applic|
|00000e40| 61 74 69 6f 6e 20 47 6c | 6f 62 61 6c 20 56 61 72 |ation Gl|obal Var|
|00000e50| 69 61 62 6c 65 73 20 61 | 6e 64 20 41 35 20 57 6f |iables a|nd A5 Wo|
|00000e60| 72 6c 64 14 14 31 2d 31 | 32 0d 54 65 6d 70 6f 72 |rld..1-1|2.Tempor|
|00000e70| 61 72 79 20 4d 65 6d 6f | 72 79 14 14 31 2d 31 33 |ary Memo|ry..1-13|
|00000e80| 0d 56 69 72 74 75 61 6c | 20 4d 65 6d 6f 72 79 14 |.Virtual| Memory.|
|00000e90| 14 31 2d 31 35 0d 41 64 | 64 72 65 73 73 69 6e 67 |.1-15.Ad|dressing|
|00000ea0| 20 4d 6f 64 65 73 14 14 | 31 2d 31 35 0d 48 65 61 | Modes..|1-15.Hea|
|00000eb0| 70 20 4d 61 6e 61 67 65 | 6d 65 6e 74 14 14 31 2d |p Manage|ment..1-|
|00000ec0| 31 36 0d 52 65 6c 6f 63 | 61 74 61 62 6c 65 20 61 |16.Reloc|atable a|
|00000ed0| 6e 64 20 4e 6f 6e 72 65 | 6c 6f 63 61 74 61 62 6c |nd Nonre|locatabl|
|00000ee0| 65 20 42 6c 6f 63 6b 73 | 14 14 31 2d 31 36 0d 50 |e Blocks|..1-16.P|
|00000ef0| 72 6f 70 65 72 74 69 65 | 73 20 6f 66 20 52 65 6c |ropertie|s of Rel|
|00000f00| 6f 63 61 74 61 62 6c 65 | 20 42 6c 6f 63 6b 73 14 |ocatable| Blocks.|
|00000f10| 14 31 2d 32 30 0d 4c 6f | 63 6b 69 6e 67 20 61 6e |.1-20.Lo|cking an|
|00000f20| 64 20 55 6e 6c 6f 63 6b | 69 6e 67 20 52 65 6c 6f |d Unlock|ing Relo|
|00000f30| 63 61 74 61 62 6c 65 20 | 42 6c 6f 63 6b 73 14 14 |catable |Blocks..|
|00000f40| 31 2d 32 30 0d 50 75 72 | 67 69 6e 67 20 61 6e 64 |1-20.Pur|ging and|
|00000f50| 20 52 65 61 6c 6c 6f 63 | 61 74 69 6e 67 20 52 65 | Realloc|ating Re|
|00000f60| 6c 6f 63 61 74 61 62 6c | 65 20 42 6c 6f 63 6b 73 |locatabl|e Blocks|
|00000f70| 14 14 31 2d 32 31 0d 4d | 65 6d 6f 72 79 20 52 65 |..1-21.M|emory Re|
|00000f80| 73 65 72 76 61 74 69 6f | 6e 14 14 31 2d 32 32 0d |servatio|n..1-22.|
|00000f90| 48 65 61 70 20 50 75 72 | 67 69 6e 67 20 61 6e 64 |Heap Pur|ging and|
|00000fa0| 20 43 6f 6d 70 61 63 74 | 69 6f 6e 14 14 31 2d 32 | Compact|ion..1-2|
|00000fb0| 33 0d 48 65 61 70 20 46 | 72 61 67 6d 65 6e 74 61 |3.Heap F|ragmenta|
|00000fc0| 74 69 6f 6e 14 14 31 2d | 32 34 0d 44 65 61 6c 6c |tion..1-|24.Deall|
|00000fd0| 6f 63 61 74 69 6e 67 20 | 4e 6f 6e 72 65 6c 6f 63 |ocating |Nonreloc|
|00000fe0| 61 74 61 62 6c 65 20 42 | 6c 6f 63 6b 73 14 14 31 |atable B|locks..1|
|00000ff0| 2d 32 35 0d 52 65 73 65 | 72 76 69 6e 67 20 4d 65 |-25.Rese|rving Me|
|00001000| 6d 6f 72 79 14 14 31 2d | 32 35 0d 4c 6f 63 6b 69 |mory..1-|25.Locki|
|00001010| 6e 67 20 52 65 6c 6f 63 | 61 74 61 62 6c 65 20 42 |ng Reloc|atable B|
|00001020| 6c 6f 63 6b 73 14 14 31 | 2d 32 36 0d 41 6c 6c 6f |locks..1|-26.Allo|
|00001030| 63 61 74 69 6e 67 20 4e | 6f 6e 72 65 6c 6f 63 61 |cating N|onreloca|
|00001040| 74 61 62 6c 65 20 42 6c | 6f 63 6b 73 14 14 31 2d |table Bl|ocks..1-|
|00001050| 32 37 0d 53 75 6d 6d 61 | 72 79 20 6f 66 20 50 72 |27.Summa|ry of Pr|
|00001060| 65 76 65 6e 74 69 6e 67 | 20 46 72 61 67 6d 65 6e |eventing| Fragmen|
|00001070| 74 61 74 69 6f 6e 14 14 | 31 2d 32 38 0d 44 61 6e |tation..|1-28.Dan|
|00001080| 67 6c 69 6e 67 20 50 6f | 69 6e 74 65 72 73 14 14 |gling Po|inters..|
|00001090| 31 2d 32 39 0d 43 6f 6d | 70 69 6c 65 72 20 44 65 |1-29.Com|piler De|
|000010a0| 72 65 66 65 72 65 6e 63 | 69 6e 67 14 14 31 2d 32 |referenc|ing..1-2|
|000010b0| 39 0d 4c 6f 61 64 69 6e | 67 20 43 6f 64 65 20 53 |9.Loadin|g Code S|
|000010c0| 65 67 6d 65 6e 74 73 14 | 14 31 2d 33 31 0d 43 61 |egments.|.1-31.Ca|
|000010d0| 6c 6c 62 61 63 6b 20 52 | 6f 75 74 69 6e 65 73 14 |llback R|outines.|
|000010e0| 14 31 2d 33 32 0d 49 6e | 76 61 6c 69 64 20 48 61 |.1-32.In|valid Ha|
|000010f0| 6e 64 6c 65 73 14 14 31 | 2d 33 33 0d 44 69 73 70 |ndles..1|-33.Disp|
|00001100| 6f 73 65 64 20 48 61 6e | 64 6c 65 73 14 14 31 2d |osed Han|dles..1-|
|00001110| 33 33 0d 45 6d 70 74 79 | 20 48 61 6e 64 6c 65 73 |33.Empty| Handles|
|00001120| 14 14 31 2d 33 34 0d 46 | 61 6b 65 20 48 61 6e 64 |..1-34.F|ake Hand|
|00001130| 6c 65 73 14 14 31 2d 33 | 35 0d 4c 6f 77 2d 4d 65 |les..1-3|5.Low-Me|
|00001140| 6d 6f 72 79 20 43 6f 6e | 64 69 74 69 6f 6e 73 14 |mory Con|ditions.|
|00001150| 14 31 2d 33 36 0d 4d 65 | 6d 6f 72 79 20 43 75 73 |.1-36.Me|mory Cus|
|00001160| 68 69 6f 6e 73 14 14 31 | 2d 33 36 0d 4d 65 6d 6f |hions..1|-36.Memo|
|00001170| 72 79 20 52 65 73 65 72 | 76 65 73 14 14 31 2d 33 |ry Reser|ves..1-3|
|00001180| 37 0d 47 72 6f 77 2d 5a | 6f 6e 65 20 46 75 6e 63 |7.Grow-Z|one Func|
|00001190| 74 69 6f 6e 73 14 14 31 | 2d 33 38 0d 55 73 69 6e |tions..1|-38.Usin|
|000011a0| 67 20 4d 65 6d 6f 72 79 | 14 14 31 2d 33 38 0d 53 |g Memory|..1-38.S|
|000011b0| 65 74 74 69 6e 67 20 55 | 70 20 74 68 65 20 41 70 |etting U|p the Ap|
|000011c0| 70 6c 69 63 61 74 69 6f | 6e 20 48 65 61 70 14 14 |plicatio|n Heap..|
|000011d0| 31 2d 33 38 0d 43 68 61 | 6e 67 69 6e 67 20 74 68 |1-38.Cha|nging th|
|000011e0| 65 20 53 69 7a 65 20 6f | 66 20 74 68 65 20 53 74 |e Size o|f the St|
|000011f0| 61 63 6b 14 14 31 2d 33 | 39 0d 45 78 70 61 6e 64 |ack..1-3|9.Expand|
|00001200| 69 6e 67 20 74 68 65 20 | 48 65 61 70 14 14 31 2d |ing the |Heap..1-|
|00001210| 34 30 0d 41 6c 6c 6f 63 | 61 74 69 6e 67 20 4d 61 |40.Alloc|ating Ma|
|00001220| 73 74 65 72 20 50 6f 69 | 6e 74 65 72 20 42 6c 6f |ster Poi|nter Blo|
|00001230| 63 6b 73 14 14 31 2d 34 | 31 0d 44 65 74 65 72 6d |cks..1-4|1.Determ|
|00001240| 69 6e 69 6e 67 20 74 68 | 65 20 41 6d 6f 75 6e 74 |ining th|e Amount|
|00001250| 20 6f 66 20 46 72 65 65 | 20 4d 65 6d 6f 72 79 14 | of Free| Memory.|
|00001260| 14 31 2d 34 32 0d 41 6c | 6c 6f 63 61 74 69 6e 67 |.1-42.Al|locating|
|00001270| 20 42 6c 6f 63 6b 73 20 | 6f 66 20 4d 65 6d 6f 72 | Blocks |of Memor|
|00001280| 79 14 14 31 2d 34 34 0d | 4d 61 69 6e 74 61 69 6e |y..1-44.|Maintain|
|00001290| 69 6e 67 20 61 20 4d 65 | 6d 6f 72 79 20 52 65 73 |ing a Me|mory Res|
|000012a0| 65 72 76 65 14 14 31 2d | 34 36 0d 44 65 66 69 6e |erve..1-|46.Defin|
|000012b0| 69 6e 67 20 61 20 47 72 | 6f 77 2d 5a 6f 6e 65 20 |ing a Gr|ow-Zone |
|000012c0| 46 75 6e 63 74 69 6f 6e | 14 14 31 2d 34 38 0d 4d |Function|..1-48.M|
|000012d0| 65 6d 6f 72 79 20 4d 61 | 6e 61 67 65 6d 65 6e 74 |emory Ma|nagement|
|000012e0| 20 52 65 66 65 72 65 6e | 63 65 14 14 31 2d 35 30 | Referen|ce..1-50|
|000012f0| 0d 4d 65 6d 6f 72 79 20 | 4d 61 6e 61 67 65 6d 65 |.Memory |Manageme|
|00001300| 6e 74 20 52 6f 75 74 69 | 6e 65 73 14 14 31 2d 35 |nt Routi|nes..1-5|
|00001310| 30 0d 53 65 74 74 69 6e | 67 20 55 70 20 74 68 65 |0.Settin|g Up the|
|00001320| 20 41 70 70 6c 69 63 61 | 74 69 6f 6e 20 48 65 61 | Applica|tion Hea|
|00001330| 70 14 14 31 2d 35 30 0d | 41 6c 6c 6f 63 61 74 69 |p..1-50.|Allocati|
|00001340| 6e 67 20 61 6e 64 20 52 | 65 6c 65 61 73 69 6e 67 |ng and R|eleasing|
|00001350| 20 52 65 6c 6f 63 61 74 | 61 62 6c 65 20 42 6c 6f | Relocat|able Blo|
|00001360| 63 6b 73 20 6f 66 20 4d | 65 6d 6f 72 79 14 14 31 |cks of M|emory..1|
|00001370| 2d 35 34 0d 41 6c 6c 6f | 63 61 74 69 6e 67 20 61 |-54.Allo|cating a|
|00001380| 6e 64 20 52 65 6c 65 61 | 73 69 6e 67 20 4e 6f 6e |nd Relea|sing Non|
|00001390| 72 65 6c 6f 63 61 74 61 | 62 6c 65 20 42 6c 6f 63 |relocata|ble Bloc|
|000013a0| 6b 73 20 6f 66 20 4d 65 | 6d 6f 72 79 14 14 31 2d |ks of Me|mory..1-|
|000013b0| 35 38 0d 53 65 74 74 69 | 6e 67 20 74 68 65 20 50 |58.Setti|ng the P|
|000013c0| 72 6f 70 65 72 74 69 65 | 73 20 6f 66 20 52 65 6c |ropertie|s of Rel|
|000013d0| 6f 63 61 74 61 62 6c 65 | 20 42 6c 6f 63 6b 73 14 |ocatable| Blocks.|
|000013e0| 14 31 2d 36 30 0d 4d 61 | 6e 61 67 69 6e 67 20 52 |.1-60.Ma|naging R|
|000013f0| 65 6c 6f 63 61 74 61 62 | 6c 65 20 42 6c 6f 63 6b |elocatab|le Block|
|00001400| 73 14 14 31 2d 36 37 0d | 4d 61 6e 69 70 75 6c 61 |s..1-67.|Manipula|
|00001410| 74 69 6e 67 20 42 6c 6f | 63 6b 73 20 6f 66 20 4d |ting Blo|cks of M|
|00001420| 65 6d 6f 72 79 14 14 31 | 2d 37 33 0d 41 73 73 65 |emory..1|-73.Asse|
|00001430| 73 73 69 6e 67 20 4d 65 | 6d 6f 72 79 20 43 6f 6e |ssing Me|mory Con|
|00001440| 64 69 74 69 6f 6e 73 14 | 14 31 2d 37 35 0d 47 72 |ditions.|.1-75.Gr|
|00001450| 6f 77 2d 5a 6f 6e 65 20 | 4f 70 65 72 61 74 69 6f |ow-Zone |Operatio|
|00001460| 6e 73 14 14 31 2d 37 37 | 0d 53 65 74 74 69 6e 67 |ns..1-77|.Setting|
|00001470| 20 61 6e 64 20 52 65 73 | 74 6f 72 69 6e 67 20 74 | and Res|toring t|
|00001480| 68 65 20 41 35 20 52 65 | 67 69 73 74 65 72 14 14 |he A5 Re|gister..|
|00001490| 31 2d 37 38 0d 41 70 70 | 6c 69 63 61 74 69 6f 6e |1-78.App|lication|
|000014a0| 2d 44 65 66 69 6e 65 64 | 20 52 6f 75 74 69 6e 65 |-Defined| Routine|
|000014b0| 73 14 14 31 2d 38 30 0d | 47 72 6f 77 2d 5a 6f 6e |s..1-80.|Grow-Zon|
|000014c0| 65 20 46 75 6e 63 74 69 | 6f 6e 73 14 14 31 2d 38 |e Functi|ons..1-8|
|000014d0| 30 0d 53 75 6d 6d 61 72 | 79 20 6f 66 20 4d 65 6d |0.Summar|y of Mem|
|000014e0| 6f 72 79 20 4d 61 6e 61 | 67 65 6d 65 6e 74 14 14 |ory Mana|gement..|
|000014f0| 31 2d 38 32 0d 50 61 73 | 63 61 6c 20 53 75 6d 6d |1-82.Pas|cal Summ|
|00001500| 61 72 79 14 14 31 2d 38 | 32 0d 44 61 74 61 20 54 |ary..1-8|2.Data T|
|00001510| 79 70 65 73 14 14 31 2d | 38 32 0d 4d 65 6d 6f 72 |ypes..1-|82.Memor|
|00001520| 79 20 4d 61 6e 61 67 65 | 6d 65 6e 74 20 52 6f 75 |y Manage|ment Rou|
|00001530| 74 69 6e 65 73 14 14 31 | 2d 38 32 0d 41 70 70 6c |tines..1|-82.Appl|
|00001540| 69 63 61 74 69 6f 6e 2d | 44 65 66 69 6e 65 64 20 |ication-|Defined |
|00001550| 52 6f 75 74 69 6e 65 73 | 14 14 31 2d 38 33 0d 43 |Routines|..1-83.C|
|00001560| 20 53 75 6d 6d 61 72 79 | 14 14 31 2d 38 34 0d 44 | Summary|..1-84.D|
|00001570| 61 74 61 20 54 79 70 65 | 73 14 14 31 2d 38 34 0d |ata Type|s..1-84.|
|00001580| 4d 65 6d 6f 72 79 20 4d | 61 6e 61 67 65 6d 65 6e |Memory M|anagemen|
|00001590| 74 20 52 6f 75 74 69 6e | 65 73 14 14 31 2d 38 34 |t Routin|es..1-84|
|000015a0| 0d 41 70 70 6c 69 63 61 | 74 69 6f 6e 2d 44 65 66 |.Applica|tion-Def|
|000015b0| 69 6e 65 64 20 52 6f 75 | 74 69 6e 65 73 14 14 31 |ined Rou|tines..1|
|000015c0| 2d 38 35 0d 41 73 73 65 | 6d 62 6c 79 2d 4c 61 6e |-85.Asse|mbly-Lan|
|000015d0| 67 75 61 67 65 20 53 75 | 6d 6d 61 72 79 14 14 31 |guage Su|mmary..1|
|000015e0| 2d 38 36 0d 47 6c 6f 62 | 61 6c 20 56 61 72 69 61 |-86.Glob|al Varia|
|000015f0| 62 6c 65 73 14 14 31 2d | 38 36 0d 52 65 73 75 6c |bles..1-|86.Resul|
|00001600| 74 20 43 6f 64 65 73 14 | 14 31 2d 38 36 0d 43 68 |t Codes.|.1-86.Ch|
|00001610| 61 70 74 65 72 20 32 09 | 4d 65 6d 6f 72 79 20 4d |apter 2.|Memory M|
|00001620| 61 6e 61 67 65 72 14 14 | 32 2d 31 0d 41 62 6f 75 |anager..|2-1.Abou|
|00001630| 74 20 74 68 65 20 4d 65 | 6d 6f 72 79 20 4d 61 6e |t the Me|mory Man|
|00001640| 61 67 65 72 14 14 32 2d | 33 0d 54 65 6d 70 6f 72 |ager..2-|3.Tempor|
|00001650| 61 72 79 20 4d 65 6d 6f | 72 79 14 14 32 2d 34 0d |ary Memo|ry..2-4.|
|00001660| 4d 75 6c 74 69 70 6c 65 | 20 48 65 61 70 20 5a 6f |Multiple| Heap Zo|
|00001670| 6e 65 73 14 14 32 2d 35 | 0d 54 68 65 20 53 79 73 |nes..2-5|.The Sys|
|00001680| 74 65 6d 20 47 6c 6f 62 | 61 6c 20 56 61 72 69 61 |tem Glob|al Varia|
|00001690| 62 6c 65 73 14 14 32 2d | 36 0d 55 73 69 6e 67 20 |bles..2-|6.Using |
|000016a0| 74 68 65 20 4d 65 6d 6f | 72 79 20 4d 61 6e 61 67 |the Memo|ry Manag|
|000016b0| 65 72 14 14 32 2d 37 0d | 52 65 61 64 69 6e 67 20 |er..2-7.|Reading |
|000016c0| 61 6e 64 20 57 72 69 74 | 69 6e 67 20 53 79 73 74 |and Writ|ing Syst|
|000016d0| 65 6d 20 47 6c 6f 62 61 | 6c 20 56 61 72 69 61 62 |em Globa|l Variab|
|000016e0| 6c 65 73 14 14 32 2d 38 | 0d 45 78 74 65 6e 64 69 |les..2-8|.Extendi|
|000016f0| 6e 67 20 61 6e 20 41 70 | 70 6c 69 63 61 74 69 6f |ng an Ap|plicatio|
|00001700| 6e d5 73 20 4d 65 6d 6f | 72 79 14 14 32 2d 39 0d |n.s Memo|ry..2-9.|
|00001710| 41 6c 6c 6f 63 61 74 69 | 6e 67 20 54 65 6d 70 6f |Allocati|ng Tempo|
|00001720| 72 61 72 79 20 4d 65 6d | 6f 72 79 14 14 32 2d 31 |rary Mem|ory..2-1|
|00001730| 30 0d 44 65 74 65 72 6d | 69 6e 69 6e 67 20 74 68 |0.Determ|ining th|
|00001740| 65 20 46 65 61 74 75 72 | 65 73 20 6f 66 20 54 65 |e Featur|es of Te|
|00001750| 6d 70 6f 72 61 72 79 20 | 4d 65 6d 6f 72 79 14 14 |mporary |Memory..|
|00001760| 32 2d 31 31 0d 55 73 69 | 6e 67 20 74 68 65 20 53 |2-11.Usi|ng the S|
|00001770| 79 73 74 65 6d 20 48 65 | 61 70 14 14 32 2d 31 32 |ystem He|ap..2-12|
|00001780| 0d 41 6c 6c 6f 63 61 74 | 69 6e 67 20 4d 65 6d 6f |.Allocat|ing Memo|
|00001790| 72 79 20 61 74 20 53 74 | 61 72 74 75 70 20 54 69 |ry at St|artup Ti|
|000017a0| 6d 65 14 14 32 2d 31 33 | 0d 43 72 65 61 74 69 6e |me..2-13|.Creatin|
|000017b0| 67 20 48 65 61 70 20 5a | 6f 6e 65 73 14 14 32 2d |g Heap Z|ones..2-|
|000017c0| 31 34 0d 49 6e 73 74 61 | 6c 6c 69 6e 67 20 61 20 |14.Insta|lling a |
|000017d0| 50 75 72 67 65 2d 57 61 | 72 6e 69 6e 67 20 50 72 |Purge-Wa|rning Pr|
|000017e0| 6f 63 65 64 75 72 65 14 | 14 32 2d 31 36 0d 4f 72 |ocedure.|.2-16.Or|
|000017f0| 67 61 6e 69 7a 61 74 69 | 6f 6e 20 6f 66 20 4d 65 |ganizati|on of Me|
|00001800| 6d 6f 72 79 14 14 32 2d | 31 39 0d 48 65 61 70 20 |mory..2-|19.Heap |
|00001810| 5a 6f 6e 65 73 14 14 32 | 2d 31 39 0d 42 6c 6f 63 |Zones..2|-19.Bloc|
|00001820| 6b 20 48 65 61 64 65 72 | 73 14 14 32 2d 32 32 0d |k Header|s..2-22.|
|00001830| 4d 65 6d 6f 72 79 20 4d | 61 6e 61 67 65 72 20 52 |Memory M|anager R|
|00001840| 65 66 65 72 65 6e 63 65 | 14 14 32 2d 32 34 0d 44 |eference|..2-24.D|
|00001850| 61 74 61 20 54 79 70 65 | 73 14 14 32 2d 32 34 0d |ata Type|s..2-24.|
|00001860| 4d 65 6d 6f 72 79 20 4d | 61 6e 61 67 65 72 20 52 |Memory M|anager R|
|00001870| 6f 75 74 69 6e 65 73 14 | 14 32 2d 32 36 0d 53 65 |outines.|.2-26.Se|
|00001880| 74 74 69 6e 67 20 55 70 | 20 74 68 65 20 41 70 70 |tting Up| the App|
|00001890| 6c 69 63 61 74 69 6f 6e | 20 48 65 61 70 14 14 32 |lication| Heap..2|
|000018a0| 2d 32 37 0d 41 6c 6c 6f | 63 61 74 69 6e 67 20 61 |-27.Allo|cating a|
|000018b0| 6e 64 20 52 65 6c 65 61 | 73 69 6e 67 20 52 65 6c |nd Relea|sing Rel|
|000018c0| 6f 63 61 74 61 62 6c 65 | 20 42 6c 6f 63 6b 73 20 |ocatable| Blocks |
|000018d0| 6f 66 20 4d 65 6d 6f 72 | 79 14 14 32 2d 32 39 0d |of Memor|y..2-29.|
|000018e0| 41 6c 6c 6f 63 61 74 69 | 6e 67 20 61 6e 64 20 52 |Allocati|ng and R|
|000018f0| 65 6c 65 61 73 69 6e 67 | 20 4e 6f 6e 72 65 6c 6f |eleasing| Nonrelo|
|00001900| 63 61 74 61 62 6c 65 20 | 42 6c 6f 63 6b 73 20 6f |catable |Blocks o|
|00001910| 66 20 4d 65 6d 6f 72 79 | 14 14 32 2d 33 35 0d 43 |f Memory|..2-35.C|
|00001920| 68 61 6e 67 69 6e 67 20 | 74 68 65 20 53 69 7a 65 |hanging |the Size|
|00001930| 73 20 6f 66 20 52 65 6c | 6f 63 61 74 61 62 6c 65 |s of Rel|ocatable|
|00001940| 20 61 6e 64 20 4e 6f 6e | 72 65 6c 6f 63 61 74 61 | and Non|relocata|
|00001950| 62 6c 65 20 42 6c 6f 63 | 6b 73 14 14 32 2d 33 39 |ble Bloc|ks..2-39|
|00001960| 0d 53 65 74 74 69 6e 67 | 20 74 68 65 20 50 72 6f |.Setting| the Pro|
|00001970| 70 65 72 74 69 65 73 20 | 6f 66 20 52 65 6c 6f 63 |perties |of Reloc|
|00001980| 61 74 61 62 6c 65 20 42 | 6c 6f 63 6b 73 14 14 32 |atable B|locks..2|
|00001990| 2d 34 33 0d 4d 61 6e 61 | 67 69 6e 67 20 52 65 6c |-43.Mana|ging Rel|
|000019a0| 6f 63 61 74 61 62 6c 65 | 20 42 6c 6f 63 6b 73 14 |ocatable| Blocks.|
|000019b0| 14 32 2d 35 31 0d 4d 61 | 6e 69 70 75 6c 61 74 69 |.2-51.Ma|nipulati|
|000019c0| 6e 67 20 42 6c 6f 63 6b | 73 20 6f 66 20 4d 65 6d |ng Block|s of Mem|
|000019d0| 6f 72 79 14 14 32 2d 35 | 39 0d 41 73 73 65 73 73 |ory..2-5|9.Assess|
|000019e0| 69 6e 67 20 4d 65 6d 6f | 72 79 20 43 6f 6e 64 69 |ing Memo|ry Condi|
|000019f0| 74 69 6f 6e 73 14 14 32 | 2d 36 36 0d 46 72 65 65 |tions..2|-66.Free|
|00001a00| 69 6e 67 20 4d 65 6d 6f | 72 79 14 14 32 2d 37 31 |ing Memo|ry..2-71|
|00001a10| 0d 47 72 6f 77 2d 5a 6f | 6e 65 20 4f 70 65 72 61 |.Grow-Zo|ne Opera|
|00001a20| 74 69 6f 6e 73 14 14 32 | 2d 37 36 0d 41 6c 6c 6f |tions..2|-76.Allo|
|00001a30| 63 61 74 69 6e 67 20 54 | 65 6d 70 6f 72 61 72 79 |cating T|emporary|
|00001a40| 20 4d 65 6d 6f 72 79 14 | 14 32 2d 37 37 0d 41 63 | Memory.|.2-77.Ac|
|00001a50| 63 65 73 73 69 6e 67 20 | 48 65 61 70 20 5a 6f 6e |cessing |Heap Zon|
|00001a60| 65 73 14 14 32 2d 38 30 | 0d 4d 61 6e 69 70 75 6c |es..2-80|.Manipul|
|00001a70| 61 74 69 6e 67 20 48 65 | 61 70 20 5a 6f 6e 65 73 |ating He|ap Zones|
|00001a80| 14 14 32 2d 38 33 0d 41 | 70 70 6c 69 63 61 74 69 |..2-83.A|pplicati|
|00001a90| 6f 6e 2d 44 65 66 69 6e | 65 64 20 52 6f 75 74 69 |on-Defin|ed Routi|
|00001aa0| 6e 65 73 14 14 32 2d 38 | 39 0d 47 72 6f 77 2d 5a |nes..2-8|9.Grow-Z|
|00001ab0| 6f 6e 65 20 46 75 6e 63 | 74 69 6f 6e 73 14 14 32 |one Func|tions..2|
|00001ac0| 2d 38 39 0d 50 75 72 67 | 65 2d 57 61 72 6e 69 6e |-89.Purg|e-Warnin|
|00001ad0| 67 20 50 72 6f 63 65 64 | 75 72 65 73 14 14 32 2d |g Proced|ures..2-|
|00001ae0| 39 30 0d 53 75 6d 6d 61 | 72 79 20 6f 66 20 74 68 |90.Summa|ry of th|
|00001af0| 65 20 4d 65 6d 6f 72 79 | 20 4d 61 6e 61 67 65 72 |e Memory| Manager|
|00001b00| 14 14 32 2d 39 33 0d 50 | 61 73 63 61 6c 20 53 75 |..2-93.P|ascal Su|
|00001b10| 6d 6d 61 72 79 14 14 32 | 2d 39 33 0d 43 6f 6e 73 |mmary..2|-93.Cons|
|00001b20| 74 61 6e 74 73 14 14 32 | 2d 39 33 0d 44 61 74 61 |tants..2|-93.Data|
|00001b30| 20 54 79 70 65 73 14 14 | 32 2d 39 33 0d 4d 65 6d | Types..|2-93.Mem|
|00001b40| 6f 72 79 20 4d 61 6e 61 | 67 65 72 20 52 6f 75 74 |ory Mana|ger Rout|
|00001b50| 69 6e 65 73 14 14 32 2d | 39 34 0d 41 70 70 6c 69 |ines..2-|94.Appli|
|00001b60| 63 61 74 69 6f 6e 2d 44 | 65 66 69 6e 65 64 20 52 |cation-D|efined R|
|00001b70| 6f 75 74 69 6e 65 73 14 | 14 32 2d 39 37 0d 43 20 |outines.|.2-97.C |
|00001b80| 53 75 6d 6d 61 72 79 14 | 14 32 2d 39 37 0d 43 6f |Summary.|.2-97.Co|
|00001b90| 6e 73 74 61 6e 74 73 14 | 14 32 2d 39 37 0d 44 61 |nstants.|.2-97.Da|
|00001ba0| 74 61 20 54 79 70 65 73 | 14 14 32 2d 39 37 0d 4d |ta Types|..2-97.M|
|00001bb0| 65 6d 6f 72 79 20 4d 61 | 6e 61 67 65 72 20 52 6f |emory Ma|nager Ro|
|00001bc0| 75 74 69 6e 65 73 14 14 | 32 2d 39 38 0d 41 70 70 |utines..|2-98.App|
|00001bd0| 6c 69 63 61 74 69 6f 6e | 2d 44 65 66 69 6e 65 64 |lication|-Defined|
|00001be0| 20 52 6f 75 74 69 6e 65 | 73 14 14 32 2d 31 30 31 | Routine|s..2-101|
|00001bf0| 0d 41 73 73 65 6d 62 6c | 79 2d 4c 61 6e 67 75 61 |.Assembl|y-Langua|
|00001c00| 67 65 20 53 75 6d 6d 61 | 72 79 14 14 32 2d 31 30 |ge Summa|ry..2-10|
|00001c10| 31 0d 43 6f 6e 73 74 61 | 6e 74 73 14 14 32 2d 31 |1.Consta|nts..2-1|
|00001c20| 30 31 0d 44 61 74 61 20 | 53 74 72 75 63 74 75 72 |01.Data |Structur|
|00001c30| 65 73 14 14 32 2d 31 30 | 32 0d 54 72 61 70 20 4d |es..2-10|2.Trap M|
|00001c40| 61 63 72 6f 73 14 14 32 | 2d 31 30 32 0d 47 6c 6f |acros..2|-102.Glo|
|00001c50| 62 61 6c 20 56 61 72 69 | 61 62 6c 65 73 14 14 32 |bal Vari|ables..2|
|00001c60| 2d 31 30 34 0d 52 65 73 | 75 6c 74 20 43 6f 64 65 |-104.Res|ult Code|
|00001c70| 73 14 14 32 2d 31 30 35 | 0d 43 68 61 70 74 65 72 |s..2-105|.Chapter|
|00001c80| 20 33 09 56 69 72 74 75 | 61 6c 20 4d 65 6d 6f 72 | 3.Virtu|al Memor|
|00001c90| 79 20 4d 61 6e 61 67 65 | 72 14 14 33 2d 31 0d 41 |y Manage|r..3-1.A|
|00001ca0| 62 6f 75 74 20 74 68 65 | 20 56 69 72 74 75 61 6c |bout the| Virtual|
|00001cb0| 20 4d 65 6d 6f 72 79 20 | 4d 61 6e 61 67 65 72 14 | Memory |Manager.|
|00001cc0| 14 33 2d 33 0d 56 69 72 | 74 75 61 6c 20 4d 65 6d |.3-3.Vir|tual Mem|
|00001cd0| 6f 72 79 14 14 33 2d 34 | 0d 54 68 65 20 4c 6f 67 |ory..3-4|.The Log|
|00001ce0| 69 63 61 6c 20 41 64 64 | 72 65 73 73 20 53 70 61 |ical Add|ress Spa|
|00001cf0| 63 65 14 14 33 2d 35 0d | 32 34 2d 42 69 74 20 41 |ce..3-5.|24-Bit A|
|00001d00| 64 64 72 65 73 73 69 6e | 67 14 14 33 2d 35 0d 33 |ddressin|g..3-5.3|
|00001d10| 32 2d 42 69 74 20 41 64 | 64 72 65 73 73 69 6e 67 |2-Bit Ad|dressing|
|00001d20| 14 14 33 2d 37 0d 54 68 | 65 20 50 68 79 73 69 63 |..3-7.Th|e Physic|
|00001d30| 61 6c 20 41 64 64 72 65 | 73 73 20 53 70 61 63 65 |al Addre|ss Space|
|00001d40| 14 14 33 2d 39 0d 50 61 | 67 65 20 46 61 75 6c 74 |..3-9.Pa|ge Fault|
|00001d50| 73 14 14 33 2d 31 31 0d | 55 73 69 6e 67 20 74 68 |s..3-11.|Using th|
|00001d60| 65 20 56 69 72 74 75 61 | 6c 20 4d 65 6d 6f 72 79 |e Virtua|l Memory|
|00001d70| 20 4d 61 6e 61 67 65 72 | 14 14 33 2d 31 33 0d 4f | Manager|..3-13.O|
|00001d80| 62 74 61 69 6e 69 6e 67 | 20 49 6e 66 6f 72 6d 61 |btaining| Informa|
|00001d90| 74 69 6f 6e 20 41 62 6f | 75 74 20 56 69 72 74 75 |tion Abo|ut Virtu|
|00001da0| 61 6c 20 4d 65 6d 6f 72 | 79 14 14 33 2d 31 34 0d |al Memor|y..3-14.|
|00001db0| 48 6f 6c 64 69 6e 67 20 | 61 6e 64 20 52 65 6c 65 |Holding |and Rele|
|00001dc0| 61 73 69 6e 67 20 4d 65 | 6d 6f 72 79 14 14 33 2d |asing Me|mory..3-|
|00001dd0| 31 34 0d 4c 6f 63 6b 69 | 6e 67 20 61 6e 64 20 55 |14.Locki|ng and U|
|00001de0| 6e 6c 6f 63 6b 69 6e 67 | 20 4d 65 6d 6f 72 79 14 |nlocking| Memory.|
|00001df0| 14 33 2d 31 35 0d 4d 61 | 70 70 69 6e 67 20 4c 6f |.3-15.Ma|pping Lo|
|00001e00| 67 69 63 61 6c 20 74 6f | 20 50 68 79 73 69 63 61 |gical to| Physica|
|00001e10| 6c 20 41 64 64 72 65 73 | 73 65 73 14 14 33 2d 31 |l Addres|ses..3-1|
|00001e20| 36 0d 44 65 66 65 72 72 | 69 6e 67 20 55 73 65 72 |6.Deferr|ing User|
|00001e30| 20 49 6e 74 65 72 72 75 | 70 74 20 48 61 6e 64 6c | Interru|pt Handl|
|00001e40| 69 6e 67 14 14 33 2d 32 | 30 0d 56 69 72 74 75 61 |ing..3-2|0.Virtua|
|00001e50| 6c 20 4d 65 6d 6f 72 79 | 20 61 6e 64 20 44 65 62 |l Memory| and Deb|
|00001e60| 75 67 67 65 72 73 14 14 | 33 2d 32 31 0d 42 75 73 |uggers..|3-21.Bus|
|00001e70| 2d 45 72 72 6f 72 20 56 | 65 63 74 6f 72 73 14 14 |-Error V|ectors..|
|00001e80| 33 2d 32 32 0d 53 70 65 | 63 69 61 6c 20 4e 6f 6e |3-22.Spe|cial Non|
|00001e90| 6d 61 73 6b 61 62 6c 65 | 20 49 6e 74 65 72 72 75 |maskable| Interru|
|00001ea0| 70 74 20 4e 65 65 64 73 | 14 14 33 2d 32 32 0d 53 |pt Needs|..3-22.S|
|00001eb0| 75 70 65 72 76 69 73 6f | 72 20 4d 6f 64 65 14 14 |uperviso|r Mode..|
|00001ec0| 33 2d 32 33 0d 54 68 65 | 20 44 65 62 75 67 67 69 |3-23.The| Debuggi|
|00001ed0| 6e 67 20 53 74 61 74 65 | 14 14 33 2d 32 33 0d 4b |ng State|..3-23.K|
|00001ee0| 65 79 62 6f 61 72 64 20 | 49 6e 70 75 74 14 14 33 |eyboard |Input..3|
|00001ef0| 2d 32 33 0d 50 61 67 65 | 20 53 74 61 74 65 73 14 |-23.Page| States.|
|00001f00| 14 33 2d 32 34 0d 56 69 | 72 74 75 61 6c 20 4d 65 |.3-24.Vi|rtual Me|
|00001f10| 6d 6f 72 79 20 4d 61 6e | 61 67 65 72 20 52 65 66 |mory Man|ager Ref|
|00001f20| 65 72 65 6e 63 65 14 14 | 33 2d 32 34 0d 44 61 74 |erence..|3-24.Dat|
|00001f30| 61 20 53 74 72 75 63 74 | 75 72 65 73 14 14 33 2d |a Struct|ures..3-|
|00001f40| 32 34 0d 4d 65 6d 6f 72 | 79 2d 42 6c 6f 63 6b 20 |24.Memor|y-Block |
|00001f50| 52 65 63 6f 72 64 14 14 | 33 2d 32 34 0d 54 72 61 |Record..|3-24.Tra|
|00001f60| 6e 73 6c 61 74 69 6f 6e | 20 54 61 62 6c 65 14 14 |nslation| Table..|
|00001f70| 33 2d 32 35 0d 52 6f 75 | 74 69 6e 65 73 14 14 33 |3-25.Rou|tines..3|
|00001f80| 2d 32 35 0d 56 69 72 74 | 75 61 6c 20 4d 65 6d 6f |-25.Virt|ual Memo|
|00001f90| 72 79 20 4d 61 6e 61 67 | 65 6d 65 6e 74 14 14 33 |ry Manag|ement..3|
|00001fa0| 2d 32 35 0d 56 69 72 74 | 75 61 6c 20 4d 65 6d 6f |-25.Virt|ual Memo|
|00001fb0| 72 79 20 44 65 62 75 67 | 67 65 72 20 53 75 70 70 |ry Debug|ger Supp|
|00001fc0| 6f 72 74 20 52 6f 75 74 | 69 6e 65 73 14 14 33 2d |ort Rout|ines..3-|
|00001fd0| 33 34 0d 53 75 6d 6d 61 | 72 79 20 6f 66 20 74 68 |34.Summa|ry of th|
|00001fe0| 65 20 56 69 72 74 75 61 | 6c 20 4d 65 6d 6f 72 79 |e Virtua|l Memory|
|00001ff0| 20 4d 61 6e 61 67 65 72 | 14 14 33 2d 34 31 0d 50 | Manager|..3-41.P|
|00002000| 61 73 63 61 6c 20 53 75 | 6d 6d 61 72 79 14 14 33 |ascal Su|mmary..3|
|00002010| 2d 34 31 0d 43 6f 6e 73 | 74 61 6e 74 73 14 14 33 |-41.Cons|tants..3|
|00002020| 2d 34 31 0d 44 61 74 61 | 20 54 79 70 65 73 14 14 |-41.Data| Types..|
|00002030| 33 2d 34 31 0d 52 6f 75 | 74 69 6e 65 73 14 14 33 |3-41.Rou|tines..3|
|00002040| 2d 34 32 0d 43 20 53 75 | 6d 6d 61 72 79 14 14 33 |-42.C Su|mmary..3|
|00002050| 2d 34 32 0d 43 6f 6e 73 | 74 61 6e 74 73 14 14 33 |-42.Cons|tants..3|
|00002060| 2d 34 32 0d 44 61 74 61 | 20 54 79 70 65 73 14 14 |-42.Data| Types..|
|00002070| 33 2d 34 33 0d 52 6f 75 | 74 69 6e 65 73 14 14 33 |3-43.Rou|tines..3|
|00002080| 2d 34 33 0d 41 73 73 65 | 6d 62 6c 79 2d 4c 61 6e |-43.Asse|mbly-Lan|
|00002090| 67 75 61 67 65 20 53 75 | 6d 6d 61 72 79 14 14 33 |guage Su|mmary..3|
|000020a0| 2d 34 34 0d 44 61 74 61 | 20 54 79 70 65 73 14 14 |-44.Data| Types..|
|000020b0| 33 2d 34 34 0d 54 72 61 | 70 20 4d 61 63 72 6f 73 |3-44.Tra|p Macros|
|000020c0| 14 14 33 2d 34 34 0d 52 | 65 73 75 6c 74 20 43 6f |..3-44.R|esult Co|
|000020d0| 64 65 73 14 14 33 2d 34 | 35 0d 43 68 61 70 74 65 |des..3-4|5.Chapte|
|000020e0| 72 20 34 09 4d 65 6d 6f | 72 79 20 4d 61 6e 61 67 |r 4.Memo|ry Manag|
|000020f0| 65 6d 65 6e 74 20 55 74 | 69 6c 69 74 69 65 73 14 |ement Ut|ilities.|
|00002100| 14 34 2d 31 0d 54 68 65 | 20 4d 65 6d 6f 72 79 20 |.4-1.The| Memory |
|00002110| 43 6f 6e 74 72 6f 6c 20 | 50 61 6e 65 6c 14 14 34 |Control |Panel..4|
|00002120| 2d 33 0d 41 62 6f 75 74 | 20 74 68 65 20 4d 65 6d |-3.About| the Mem|
|00002130| 6f 72 79 20 4d 61 6e 61 | 67 65 6d 65 6e 74 20 55 |ory Mana|gement U|
|00002140| 74 69 6c 69 74 69 65 73 | 14 14 34 2d 35 0d 54 68 |tilities|..4-5.Th|
|00002150| 65 20 41 35 20 52 65 67 | 69 73 74 65 72 14 14 34 |e A5 Reg|ister..4|
|00002160| 2d 35 0d 41 64 64 72 65 | 73 73 69 6e 67 20 4d 6f |-5.Addre|ssing Mo|
|00002170| 64 65 73 14 14 34 2d 37 | 0d 41 64 64 72 65 73 73 |des..4-7|.Address|
|00002180| 20 54 72 61 6e 73 6c 61 | 74 69 6f 6e 14 14 34 2d | Transla|tion..4-|
|00002190| 38 0d 50 72 6f 63 65 73 | 73 6f 72 20 43 61 63 68 |8.Proces|sor Cach|
|000021a0| 65 73 14 14 34 2d 38 0d | 53 74 61 6c 65 20 49 6e |es..4-8.|Stale In|
|000021b0| 73 74 72 75 63 74 69 6f | 6e 73 14 14 34 2d 39 0d |structio|ns..4-9.|
|000021c0| 53 74 61 6c 65 20 44 61 | 74 61 14 14 34 2d 31 30 |Stale Da|ta..4-10|
|000021d0| 0d 55 73 69 6e 67 20 74 | 68 65 20 4d 65 6d 6f 72 |.Using t|he Memor|
|000021e0| 79 20 4d 61 6e 61 67 65 | 6d 65 6e 74 20 55 74 69 |y Manage|ment Uti|
|000021f0| 6c 69 74 69 65 73 14 14 | 34 2d 31 33 0d 41 63 63 |lities..|4-13.Acc|
|00002200| 65 73 73 69 6e 67 20 74 | 68 65 20 41 35 20 57 6f |essing t|he A5 Wo|
|00002210| 72 6c 64 20 69 6e 20 43 | 6f 6d 70 6c 65 74 69 6f |rld in C|ompletio|
|00002220| 6e 20 52 6f 75 74 69 6e | 65 73 14 14 34 2d 31 34 |n Routin|es..4-14|
|00002230| 0d 41 63 63 65 73 73 69 | 6e 67 20 74 68 65 20 41 |.Accessi|ng the A|
|00002240| 35 20 57 6f 72 6c 64 20 | 69 6e 20 49 6e 74 65 72 |5 World |in Inter|
|00002250| 72 75 70 74 20 54 61 73 | 6b 73 14 14 34 2d 31 36 |rupt Tas|ks..4-16|
|00002260| 0d 55 73 69 6e 67 20 51 | 75 69 63 6b 44 72 61 77 |.Using Q|uickDraw|
|00002270| 20 47 6c 6f 62 61 6c 20 | 56 61 72 69 61 62 6c 65 | Global |Variable|
|00002280| 73 20 69 6e 20 53 74 61 | 6e 64 2d 41 6c 6f 6e 65 |s in Sta|nd-Alone|
|00002290| 20 43 6f 64 65 14 14 34 | 2d 31 38 0d 53 77 69 74 | Code..4|-18.Swit|
|000022a0| 63 68 69 6e 67 20 41 64 | 64 72 65 73 73 69 6e 67 |ching Ad|dressing|
|000022b0| 20 4d 6f 64 65 73 14 14 | 34 2d 32 30 0d 53 74 72 | Modes..|4-20.Str|
|000022c0| 69 70 70 69 6e 67 20 46 | 6c 61 67 20 42 69 74 73 |ipping F|lag Bits|
|000022d0| 20 46 72 6f 6d 20 4d 65 | 6d 6f 72 79 20 41 64 64 | From Me|mory Add|
|000022e0| 72 65 73 73 65 73 14 14 | 34 2d 32 31 0d 54 72 61 |resses..|4-21.Tra|
|000022f0| 6e 73 6c 61 74 69 6e 67 | 20 4d 65 6d 6f 72 79 20 |nslating| Memory |
|00002300| 41 64 64 72 65 73 73 65 | 73 14 14 34 2d 32 33 0d |Addresse|s..4-23.|
|00002310| 4d 65 6d 6f 72 79 20 4d | 61 6e 61 67 65 6d 65 6e |Memory M|anagemen|
|00002320| 74 20 55 74 69 6c 69 74 | 69 65 73 20 52 65 66 65 |t Utilit|ies Refe|
|00002330| 72 65 6e 63 65 14 14 34 | 2d 32 34 0d 52 6f 75 74 |rence..4|-24.Rout|
|00002340| 69 6e 65 73 14 14 34 2d | 32 34 0d 53 65 74 74 69 |ines..4-|24.Setti|
|00002350| 6e 67 20 61 6e 64 20 52 | 65 73 74 6f 72 69 6e 67 |ng and R|estoring|
|00002360| 20 74 68 65 20 41 35 20 | 52 65 67 69 73 74 65 72 | the A5 |Register|
|00002370| 14 14 34 2d 32 34 0d 43 | 68 61 6e 67 69 6e 67 20 |..4-24.C|hanging |
|00002380| 74 68 65 20 41 64 64 72 | 65 73 73 69 6e 67 20 4d |the Addr|essing M|
|00002390| 6f 64 65 14 14 34 2d 32 | 36 0d 4d 61 6e 69 70 75 |ode..4-2|6.Manipu|
|000023a0| 6c 61 74 69 6e 67 20 4d | 65 6d 6f 72 79 20 41 64 |lating M|emory Ad|
|000023b0| 64 72 65 73 73 65 73 14 | 14 34 2d 32 37 0d 4d 61 |dresses.|.4-27.Ma|
|000023c0| 6e 69 70 75 6c 61 74 69 | 6e 67 20 74 68 65 20 50 |nipulati|ng the P|
|000023d0| 72 6f 63 65 73 73 6f 72 | 20 43 61 63 68 65 73 14 |rocessor| Caches.|
|000023e0| 14 34 2d 32 39 0d 53 75 | 6d 6d 61 72 79 20 6f 66 |.4-29.Su|mmary of|
|000023f0| 20 74 68 65 20 4d 65 6d | 6f 72 79 20 4d 61 6e 61 | the Mem|ory Mana|
|00002400| 67 65 6d 65 6e 74 20 55 | 74 69 6c 69 74 69 65 73 |gement U|tilities|
|00002410| 14 14 34 2d 33 34 0d 50 | 61 73 63 61 6c 20 53 75 |..4-34.P|ascal Su|
|00002420| 6d 6d 61 72 79 14 14 34 | 2d 33 34 0d 43 6f 6e 73 |mmary..4|-34.Cons|
|00002430| 74 61 6e 74 73 14 14 34 | 2d 33 34 0d 52 6f 75 74 |tants..4|-34.Rout|
|00002440| 69 6e 65 73 14 14 34 2d | 33 34 0d 43 20 53 75 6d |ines..4-|34.C Sum|
|00002450| 6d 61 72 79 14 14 34 2d | 33 35 0d 43 6f 6e 73 74 |mary..4-|35.Const|
|00002460| 61 6e 74 73 14 14 34 2d | 33 35 0d 52 6f 75 74 69 |ants..4-|35.Routi|
|00002470| 6e 65 73 14 14 34 2d 33 | 35 0d 41 73 73 65 6d 62 |nes..4-3|5.Assemb|
|00002480| 6c 79 2d 4c 61 6e 67 75 | 61 67 65 20 53 75 6d 6d |ly-Langu|age Summ|
|00002490| 61 72 79 14 14 34 2d 33 | 36 0d 54 72 61 70 20 4d |ary..4-3|6.Trap M|
|000024a0| 61 63 72 6f 73 14 14 34 | 2d 33 36 0d 47 6c 6f 62 |acros..4|-36.Glob|
|000024b0| 61 6c 20 56 61 72 69 61 | 62 6c 65 73 14 14 34 2d |al Varia|bles..4-|
|000024c0| 33 36 0d 52 65 73 75 6c | 74 20 43 6f 64 65 73 14 |36.Resul|t Codes.|
|000024d0| 14 34 2d 33 36 0d 47 6c | 6f 73 73 61 72 79 14 14 |.4-36.Gl|ossary..|
|000024e0| 47 4c 2d 31 0d 49 6e 64 | 65 78 14 14 49 4e 2d 31 |GL-1.Ind|ex..IN-1|
|000024f0| 0d 46 69 67 75 72 65 73 | 2c 20 54 61 62 6c 65 73 |.Figures|, Tables|
|00002500| 2c 20 61 6e 64 20 4c 69 | 73 74 69 6e 67 73 0d 43 |, and Li|stings.C|
|00002510| 68 61 70 74 65 72 20 31 | 09 49 6e 74 72 6f 64 75 |hapter 1|.Introdu|
|00002520| 63 74 69 6f 6e 20 74 6f | 20 4d 65 6d 6f 72 79 20 |ction to| Memory |
|00002530| 4d 61 6e 61 67 65 6d 65 | 6e 74 14 14 31 2d 31 0d |Manageme|nt..1-1.|
|00002540| 46 69 67 75 72 65 20 31 | 2d 31 09 4d 65 6d 6f 72 |Figure 1|-1.Memor|
|00002550| 79 20 6f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 20 77 |y organi|zation w|
|00002560| 69 74 68 20 73 65 76 65 | 72 61 6c 20 61 70 70 6c |ith seve|ral appl|
|00002570| 69 63 61 74 69 6f 6e 73 | 20 6f 70 65 6e 14 14 31 |ications| open..1|
|00002580| 2d 35 0d 46 69 67 75 72 | 65 20 31 2d 32 09 4f 72 |-5.Figur|e 1-2.Or|
|00002590| 67 61 6e 69 7a 61 74 69 | 6f 6e 20 6f 66 20 61 6e |ganizati|on of an|
|000025a0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 70 61 72 | applica|tion par|
|000025b0| 74 69 74 69 6f 6e 14 14 | 31 2d 37 0d 46 69 67 75 |tition..|1-7.Figu|
|000025c0| 72 65 20 31 2d 33 09 54 | 68 65 20 61 70 70 6c 69 |re 1-3.T|he appli|
|000025d0| 63 61 74 69 6f 6e 20 73 | 74 61 63 6b 14 14 31 2d |cation s|tack..1-|
|000025e0| 39 0d 46 69 67 75 72 65 | 20 31 2d 34 09 41 20 66 |9.Figure| 1-4.A f|
|000025f0| 72 61 67 6d 65 6e 74 65 | 64 20 68 65 61 70 14 14 |ragmente|d heap..|
|00002600| 31 2d 31 30 0d 46 69 67 | 75 72 65 20 31 2d 35 09 |1-10.Fig|ure 1-5.|
|00002610| 41 20 63 6f 6d 70 61 63 | 74 65 64 20 68 65 61 70 |A compac|ted heap|
|00002620| 14 14 31 2d 31 31 0d 46 | 69 67 75 72 65 20 31 2d |..1-11.F|igure 1-|
|00002630| 36 09 4f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 20 6f |6.Organi|zation o|
|00002640| 66 20 61 6e 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |f an app|lication|
|00002650| d5 73 20 41 35 20 77 6f | 72 6c 64 14 14 31 2d 31 |.s A5 wo|rld..1-1|
|00002660| 32 0d 46 69 67 75 72 65 | 20 31 2d 37 09 55 73 69 |2.Figure| 1-7.Usi|
|00002670| 6e 67 20 74 65 6d 70 6f | 72 61 72 79 20 6d 65 6d |ng tempo|rary mem|
|00002680| 6f 72 79 20 61 6c 6c 6f | 63 61 74 65 64 20 66 72 |ory allo|cated fr|
|00002690| 6f 6d 20 75 6e 75 73 65 | 64 20 52 41 4d 14 14 31 |om unuse|d RAM..1|
|000026a0| 2d 31 34 0d 46 69 67 75 | 72 65 20 31 2d 38 09 41 |-14.Figu|re 1-8.A|
|000026b0| 20 70 6f 69 6e 74 65 72 | 20 74 6f 20 61 20 6e 6f | pointer| to a no|
|000026c0| 6e 72 65 6c 6f 63 61 74 | 61 62 6c 65 20 62 6c 6f |nrelocat|able blo|
|000026d0| 63 6b 14 14 31 2d 31 37 | 0d 46 69 67 75 72 65 20 |ck..1-17|.Figure |
|000026e0| 31 2d 39 09 41 20 68 61 | 6e 64 6c 65 20 74 6f 20 |1-9.A ha|ndle to |
|000026f0| 61 20 72 65 6c 6f 63 61 | 74 61 62 6c 65 20 62 6c |a reloca|table bl|
|00002700| 6f 63 6b 14 14 31 2d 31 | 39 0d 46 69 67 75 72 65 |ock..1-1|9.Figure|
|00002710| 20 31 2d 31 30 09 50 75 | 72 67 69 6e 67 20 61 6e | 1-10.Pu|rging an|
|00002720| 64 20 72 65 61 6c 6c 6f | 63 61 74 69 6e 67 20 61 |d reallo|cating a|
|00002730| 20 72 65 6c 6f 63 61 74 | 61 62 6c 65 20 62 6c 6f | relocat|able blo|
|00002740| 63 6b 14 14 31 2d 32 32 | 0d 46 69 67 75 72 65 20 |ck..1-22|.Figure |
|00002750| 31 2d 31 31 09 41 6c 6c | 6f 63 61 74 69 6e 67 20 |1-11.All|ocating |
|00002760| 61 20 6e 6f 6e 72 65 6c | 6f 63 61 74 61 62 6c 65 |a nonrel|ocatable|
|00002770| 20 62 6c 6f 63 6b 14 14 | 31 2d 32 33 0d 46 69 67 | block..|1-23.Fig|
|00002780| 75 72 65 20 31 2d 31 32 | 09 41 6e 20 65 66 66 65 |ure 1-12|.An effe|
|00002790| 63 74 69 76 65 6c 79 20 | 70 61 72 74 69 74 69 6f |ctively |partitio|
|000027a0| 6e 65 64 20 68 65 61 70 | 14 14 31 2d 32 36 0d 4c |ned heap|..1-26.L|
|000027b0| 69 73 74 69 6e 67 20 31 | 2d 31 09 4c 6f 63 6b 69 |isting 1|-1.Locki|
|000027c0| 6e 67 20 61 20 62 6c 6f | 63 6b 20 74 6f 20 61 76 |ng a blo|ck to av|
|000027d0| 6f 69 64 20 64 61 6e 67 | 6c 69 6e 67 20 70 6f 69 |oid dang|ling poi|
|000027e0| 6e 74 65 72 73 14 14 31 | 2d 33 30 0d 4c 69 73 74 |nters..1|-30.List|
|000027f0| 69 6e 67 20 31 2d 32 09 | 43 72 65 61 74 69 6e 67 |ing 1-2.|Creating|
|00002800| 20 61 20 66 61 6b 65 20 | 68 61 6e 64 6c 65 14 14 | a fake |handle..|
|00002810| 31 2d 33 35 0d 4c 69 73 | 74 69 6e 67 20 31 2d 33 |1-35.Lis|ting 1-3|
|00002820| 09 49 6e 63 72 65 61 73 | 69 6e 67 20 74 68 65 20 |.Increas|ing the |
|00002830| 61 6d 6f 75 6e 74 20 6f | 66 20 73 70 61 63 65 20 |amount o|f space |
|00002840| 61 6c 6c 6f 63 61 74 65 | 64 20 66 6f 72 20 74 68 |allocate|d for th|
|00002850| 65 20 73 74 61 63 6b 14 | 14 31 2d 34 30 0d 4c 69 |e stack.|.1-40.Li|
|00002860| 73 74 69 6e 67 20 31 2d | 34 09 53 65 74 74 69 6e |sting 1-|4.Settin|
|00002870| 67 20 75 70 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |g up you|r applic|
|00002880| 61 74 69 6f 6e 20 68 65 | 61 70 20 61 6e 64 20 73 |ation he|ap and s|
|00002890| 74 61 63 6b 14 14 31 2d | 34 32 0d 4c 69 73 74 69 |tack..1-|42.Listi|
|000028a0| 6e 67 20 31 2d 35 09 44 | 65 74 65 72 6d 69 6e 69 |ng 1-5.D|etermini|
|000028b0| 6e 67 20 77 68 65 74 68 | 65 72 20 61 6c 6c 6f 63 |ng wheth|er alloc|
|000028c0| 61 74 69 6e 67 20 6d 65 | 6d 6f 72 79 20 77 6f 75 |ating me|mory wou|
|000028d0| 6c 64 20 64 65 70 6c 65 | 74 65 20 74 68 65 20 0d |ld deple|te the .|
|000028e0| 6d 65 6d 6f 72 79 20 63 | 75 73 68 69 6f 6e 14 14 |memory c|ushion..|
|000028f0| 31 2d 34 33 0d 4c 69 73 | 74 69 6e 67 20 31 2d 36 |1-43.Lis|ting 1-6|
|00002900| 09 41 6c 6c 6f 63 61 74 | 69 6e 67 20 72 65 6c 6f |.Allocat|ing relo|
|00002910| 63 61 74 61 62 6c 65 20 | 62 6c 6f 63 6b 73 14 14 |catable |blocks..|
|00002920| 31 2d 34 34 0d 4c 69 73 | 74 69 6e 67 20 31 2d 37 |1-44.Lis|ting 1-7|
|00002930| 09 41 6c 6c 6f 63 61 74 | 69 6e 67 20 6e 6f 6e 72 |.Allocat|ing nonr|
|00002940| 65 6c 6f 63 61 74 61 62 | 6c 65 20 62 6c 6f 63 6b |elocatab|le block|
|00002950| 73 14 14 31 2d 34 35 0d | 4c 69 73 74 69 6e 67 20 |s..1-45.|Listing |
|00002960| 31 2d 38 09 41 6c 6c 6f | 63 61 74 69 6e 67 20 61 |1-8.Allo|cating a|
|00002970| 20 64 69 61 6c 6f 67 20 | 72 65 63 6f 72 64 14 14 | dialog |record..|
|00002980| 31 2d 34 35 0d 4c 69 73 | 74 69 6e 67 20 31 2d 39 |1-45.Lis|ting 1-9|
|00002990| 09 43 72 65 61 74 69 6e | 67 20 61 6e 20 65 6d 65 |.Creatin|g an eme|
|000029a0| 72 67 65 6e 63 79 20 6d | 65 6d 6f 72 79 20 72 65 |rgency m|emory re|
|000029b0| 73 65 72 76 65 14 14 31 | 2d 34 36 0d 4c 69 73 74 |serve..1|-46.List|
|000029c0| 69 6e 67 20 31 2d 31 30 | 09 43 68 65 63 6b 69 6e |ing 1-10|.Checkin|
|000029d0| 67 20 74 68 65 20 65 6d | 65 72 67 65 6e 63 79 20 |g the em|ergency |
|000029e0| 6d 65 6d 6f 72 79 20 72 | 65 73 65 72 76 65 14 14 |memory r|eserve..|
|000029f0| 31 2d 34 37 0d 4c 69 73 | 74 69 6e 67 20 31 2d 31 |1-47.Lis|ting 1-1|
|00002a00| 31 09 44 65 74 65 72 6d | 69 6e 69 6e 67 20 77 68 |1.Determ|ining wh|
|00002a10| 65 74 68 65 72 20 61 6c | 6c 6f 63 61 74 69 6e 67 |ether al|locating|
|00002a20| 20 6d 65 6d 6f 72 79 20 | 77 6f 75 6c 64 20 64 65 | memory |would de|
|00002a30| 70 6c 65 74 65 20 74 68 | 65 20 0d 6d 65 6d 6f 72 |plete th|e .memor|
|00002a40| 79 20 63 75 73 68 69 6f | 6e 14 14 31 2d 34 37 0d |y cushio|n..1-47.|
|00002a50| 4c 69 73 74 69 6e 67 20 | 31 2d 31 32 09 52 65 61 |Listing |1-12.Rea|
|00002a60| 6c 6c 6f 63 61 74 69 6e | 67 20 74 68 65 20 65 6d |llocatin|g the em|
|00002a70| 65 72 67 65 6e 63 79 20 | 6d 65 6d 6f 72 79 20 72 |ergency |memory r|
|00002a80| 65 73 65 72 76 65 14 14 | 31 2d 34 38 0d 4c 69 73 |eserve..|1-48.Lis|
|00002a90| 74 69 6e 67 20 31 2d 31 | 33 09 41 20 67 72 6f 77 |ting 1-1|3.A grow|
|00002aa0| 2d 7a 6f 6e 65 20 66 75 | 6e 63 74 69 6f 6e 20 74 |-zone fu|nction t|
|00002ab0| 68 61 74 20 72 65 6c 65 | 61 73 65 73 20 65 6d 65 |hat rele|ases eme|
|00002ac0| 72 67 65 6e 63 79 20 73 | 74 6f 72 61 67 65 14 14 |rgency s|torage..|
|00002ad0| 31 2d 34 39 0d 43 68 61 | 70 74 65 72 20 32 09 4d |1-49.Cha|pter 2.M|
|00002ae0| 65 6d 6f 72 79 20 4d 61 | 6e 61 67 65 72 14 14 32 |emory Ma|nager..2|
|00002af0| 2d 31 0d 46 69 67 75 72 | 65 20 32 2d 31 09 41 20 |-1.Figur|e 2-1.A |
|00002b00| 62 6c 6f 63 6b 20 68 65 | 61 64 65 72 20 69 6e 20 |block he|ader in |
|00002b10| 61 20 32 34 2d 62 69 74 | 20 7a 6f 6e 65 14 14 32 |a 24-bit| zone..2|
|00002b20| 2d 32 32 0d 46 69 67 75 | 72 65 20 32 2d 32 09 41 |-22.Figu|re 2-2.A|
|00002b30| 20 62 6c 6f 63 6b 20 68 | 65 61 64 65 72 20 69 6e | block h|eader in|
|00002b40| 20 61 20 33 32 2d 62 69 | 74 20 7a 6f 6e 65 14 14 | a 32-bi|t zone..|
|00002b50| 32 2d 32 33 0d 4c 69 73 | 74 69 6e 67 20 32 2d 31 |2-23.Lis|ting 2-1|
|00002b60| 09 52 65 61 64 69 6e 67 | 20 74 68 65 20 76 61 6c |.Reading| the val|
|00002b70| 75 65 20 6f 66 20 61 20 | 73 79 73 74 65 6d 20 67 |ue of a |system g|
|00002b80| 6c 6f 62 61 6c 20 76 61 | 72 69 61 62 6c 65 14 14 |lobal va|riable..|
|00002b90| 32 2d 38 0d 4c 69 73 74 | 69 6e 67 20 32 2d 32 09 |2-8.List|ing 2-2.|
|00002ba0| 43 68 61 6e 67 69 6e 67 | 20 74 68 65 20 76 61 6c |Changing| the val|
|00002bb0| 75 65 20 6f 66 20 61 20 | 73 79 73 74 65 6d 20 67 |ue of a |system g|
|00002bc0| 6c 6f 62 61 6c 20 76 61 | 72 69 61 62 6c 65 14 14 |lobal va|riable..|
|00002bd0| 32 2d 39 0d 4c 69 73 74 | 69 6e 67 20 32 2d 33 09 |2-9.List|ing 2-3.|
|00002be0| 44 65 74 65 72 6d 69 6e | 69 6e 67 20 77 68 65 74 |Determin|ing whet|
|00002bf0| 68 65 72 20 74 65 6d 70 | 6f 72 61 72 79 2d 6d 65 |her temp|orary-me|
|00002c00| 6d 6f 72 79 20 72 6f 75 | 74 69 6e 65 73 20 0d 61 |mory rou|tines .a|
|00002c10| 72 65 20 61 76 61 69 6c | 61 62 6c 65 14 14 32 2d |re avail|able..2-|
|00002c20| 31 32 0d 4c 69 73 74 69 | 6e 67 20 32 2d 34 09 43 |12.Listi|ng 2-4.C|
|00002c30| 61 6c 6c 69 6e 67 20 61 | 20 70 72 6f 63 65 64 75 |alling a| procedu|
|00002c40| 72 65 20 62 79 20 61 64 | 64 72 65 73 73 14 14 32 |re by ad|dress..2|
|00002c50| 2d 31 33 0d 4c 69 73 74 | 69 6e 67 20 32 2d 35 09 |-13.List|ing 2-5.|
|00002c60| 43 72 65 61 74 69 6e 67 | 20 61 20 73 75 62 7a 6f |Creating| a subzo|
|00002c70| 6e 65 20 6f 66 20 74 68 | 65 20 6f 72 69 67 69 6e |ne of th|e origin|
|00002c80| 61 6c 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 68 |al appli|cation h|
|00002c90| 65 61 70 20 7a 6f 6e 65 | 14 14 32 2d 31 35 0d 4c |eap zone|..2-15.L|
|00002ca0| 69 73 74 69 6e 67 20 32 | 2d 36 09 41 20 70 75 72 |isting 2|-6.A pur|
|00002cb0| 67 65 2d 77 61 72 6e 69 | 6e 67 20 70 72 6f 63 65 |ge-warni|ng proce|
|00002cc0| 64 75 72 65 14 14 32 2d | 31 37 0d 4c 69 73 74 69 |dure..2-|17.Listi|
|00002cd0| 6e 67 20 32 2d 37 09 49 | 6e 73 74 61 6c 6c 69 6e |ng 2-7.I|nstallin|
|00002ce0| 67 20 61 20 70 75 72 67 | 65 2d 77 61 72 6e 69 6e |g a purg|e-warnin|
|00002cf0| 67 20 70 72 6f 63 65 64 | 75 72 65 14 14 32 2d 31 |g proced|ure..2-1|
|00002d00| 38 0d 4c 69 73 74 69 6e | 67 20 32 2d 38 09 41 20 |8.Listin|g 2-8.A |
|00002d10| 70 75 72 67 65 2d 77 61 | 72 6e 69 6e 67 20 70 72 |purge-wa|rning pr|
|00002d20| 6f 63 65 64 75 72 65 20 | 74 68 61 74 20 63 61 6c |ocedure |that cal|
|00002d30| 6c 73 20 74 68 65 20 52 | 65 73 6f 75 72 63 65 20 |ls the R|esource |
|00002d40| 4d 61 6e 61 67 65 72 d5 | 73 20 70 72 6f 63 65 64 |Manager.|s proced|
|00002d50| 75 72 65 14 14 32 2d 31 | 39 0d 43 68 61 70 74 65 |ure..2-1|9.Chapte|
|00002d60| 72 20 33 09 56 69 72 74 | 75 61 6c 20 4d 65 6d 6f |r 3.Virt|ual Memo|
|00002d70| 72 79 20 4d 61 6e 61 67 | 65 72 14 14 33 2d 31 0d |ry Manag|er..3-1.|
|00002d80| 46 69 67 75 72 65 20 33 | 2d 31 09 32 34 2d 62 69 |Figure 3|-1.24-bi|
|00002d90| 74 20 4d 65 6d 6f 72 79 | 20 4d 61 6e 61 67 65 72 |t Memory| Manager|
|00002da0| 20 6c 6f 67 69 63 61 6c | 20 61 64 64 72 65 73 73 | logical| address|
|00002db0| 20 73 70 61 63 65 14 14 | 33 2d 36 0d 46 69 67 75 | space..|3-6.Figu|
|00002dc0| 72 65 20 33 2d 32 09 33 | 32 2d 62 69 74 20 4d 65 |re 3-2.3|2-bit Me|
|00002dd0| 6d 6f 72 79 20 4d 61 6e | 61 67 65 72 20 6c 6f 67 |mory Man|ager log|
|00002de0| 69 63 61 6c 20 61 64 64 | 72 65 73 73 20 73 70 61 |ical add|ress spa|
|00002df0| 63 65 14 14 33 2d 38 0d | 46 69 67 75 72 65 20 33 |ce..3-8.|Figure 3|
|00002e00| 2d 33 09 54 68 65 20 70 | 68 79 73 69 63 61 6c 20 |-3.The p|hysical |
|00002e10| 61 64 64 72 65 73 73 20 | 73 70 61 63 65 20 6f 6e |address |space on|
|00002e20| 20 61 20 4d 61 63 69 6e | 74 6f 73 68 20 49 49 63 | a Macin|tosh IIc|
|00002e30| 69 20 77 69 74 68 20 0d | 38 20 4d 42 20 6f 66 20 |i with .|8 MB of |
|00002e40| 52 41 4d 14 14 33 2d 31 | 30 0d 4c 69 73 74 69 6e |RAM..3-1|0.Listin|
|00002e50| 67 20 33 2d 31 09 54 72 | 61 6e 73 6c 61 74 69 6e |g 3-1.Tr|anslatin|
|00002e60| 67 20 6c 6f 67 69 63 61 | 6c 20 74 6f 20 70 68 79 |g logica|l to phy|
|00002e70| 73 69 63 61 6c 20 61 64 | 64 72 65 73 73 65 73 14 |sical ad|dresses.|
|00002e80| 14 33 2d 31 39 0d 43 68 | 61 70 74 65 72 20 34 09 |.3-19.Ch|apter 4.|
|00002e90| 4d 65 6d 6f 72 79 20 4d | 61 6e 61 67 65 6d 65 6e |Memory M|anagemen|
|00002ea0| 74 20 55 74 69 6c 69 74 | 69 65 73 14 14 34 2d 31 |t Utilit|ies..4-1|
|00002eb0| 0d 46 69 67 75 72 65 20 | 34 2d 31 09 54 68 65 20 |.Figure |4-1.The |
|00002ec0| 4d 65 6d 6f 72 79 20 63 | 6f 6e 74 72 6f 6c 20 70 |Memory c|ontrol p|
|00002ed0| 61 6e 65 6c 14 14 34 2d | 34 0d 46 69 67 75 72 65 |anel..4-|4.Figure|
|00002ee0| 20 34 2d 32 09 49 6e 69 | 74 69 61 6c 69 7a 69 6e | 4-2.Ini|tializin|
|00002ef0| 67 20 61 20 73 74 61 74 | 75 73 20 63 6f 64 65 14 |g a stat|us code.|
|00002f00| 14 34 2d 31 31 0d 46 69 | 67 75 72 65 20 34 2d 33 |.4-11.Fi|gure 4-3|
|00002f10| 09 52 65 61 64 69 6e 67 | 20 73 74 61 6c 65 20 64 |.Reading| stale d|
|00002f20| 61 74 61 14 14 34 2d 31 | 32 0d 46 69 67 75 72 65 |ata..4-1|2.Figure|
|00002f30| 20 34 2d 34 09 52 65 61 | 64 69 6e 67 20 69 6e 76 | 4-4.Rea|ding inv|
|00002f40| 61 6c 69 64 20 69 6e 73 | 74 72 75 63 74 69 6f 6e |alid ins|truction|
|00002f50| 73 14 14 34 2d 31 33 0d | 54 61 62 6c 65 20 34 2d |s..4-13.|Table 4-|
|00002f60| 31 09 43 61 63 68 65 73 | 20 61 76 61 69 6c 61 62 |1.Caches| availab|
|00002f70| 6c 65 20 69 6e 20 4d 43 | 36 38 30 78 30 20 6d 69 |le in MC|680x0 mi|
|00002f80| 63 72 6f 70 72 6f 63 65 | 73 73 6f 72 73 14 14 34 |croproce|ssors..4|
|00002f90| 2d 39 0d 4c 69 73 74 69 | 6e 67 20 34 2d 31 09 41 |-9.Listi|ng 4-1.A|
|00002fa0| 20 73 61 6d 70 6c 65 20 | 67 72 6f 77 2d 7a 6f 6e | sample |grow-zon|
|00002fb0| 65 20 66 75 6e 63 74 69 | 6f 6e 14 14 34 2d 31 35 |e functi|on..4-15|
|00002fc0| 0d 4c 69 73 74 69 6e 67 | 20 34 2d 32 09 50 61 73 |.Listing| 4-2.Pas|
|00002fd0| 73 69 6e 67 20 41 35 20 | 74 6f 20 61 20 6e 6f 74 |sing A5 |to a not|
|00002fe0| 69 66 69 63 61 74 69 6f | 6e 20 72 65 73 70 6f 6e |ificatio|n respon|
|00002ff0| 73 65 20 70 72 6f 63 65 | 64 75 72 65 14 14 34 2d |se proce|dure..4-|
|00003000| 31 36 0d 4c 69 73 74 69 | 6e 67 20 34 2d 33 09 53 |16.Listi|ng 4-3.S|
|00003010| 65 74 74 69 6e 67 20 75 | 70 20 61 6e 64 20 72 65 |etting u|p and re|
|00003020| 73 74 6f 72 69 6e 67 20 | 74 68 65 20 41 35 20 72 |storing |the A5 r|
|00003030| 65 67 69 73 74 65 72 20 | 61 74 20 69 6e 74 65 72 |egister |at inter|
|00003040| 72 75 70 74 20 74 69 6d | 65 14 14 34 2d 31 37 0d |rupt tim|e..4-17.|
|00003050| 4c 69 73 74 69 6e 67 20 | 34 2d 34 09 53 74 72 75 |Listing |4-4.Stru|
|00003060| 63 74 75 72 65 20 6f 66 | 20 74 68 65 20 51 75 69 |cture of| the Qui|
|00003070| 63 6b 44 72 61 77 20 67 | 6c 6f 62 61 6c 20 76 61 |ckDraw g|lobal va|
|00003080| 72 69 61 62 6c 65 73 14 | 14 34 2d 31 38 0d 4c 69 |riables.|.4-18.Li|
|00003090| 73 74 69 6e 67 20 34 2d | 35 09 43 6f 70 79 69 6e |sting 4-|5.Copyin|
|000030a0| 67 20 74 68 65 20 51 75 | 69 63 6b 44 72 61 77 20 |g the Qu|ickDraw |
|000030b0| 67 6c 6f 62 61 6c 20 76 | 61 72 69 61 62 6c 65 73 |global v|ariables|
|000030c0| 20 69 6e 74 6f 20 61 20 | 72 65 63 6f 72 64 14 14 | into a |record..|
|000030d0| 34 2d 31 39 0d 4c 69 73 | 74 69 6e 67 20 34 2d 36 |4-19.Lis|ting 4-6|
|000030e0| 09 41 20 63 6f 6e 74 72 | 6f 6c d5 73 20 64 72 61 |.A contr|ol.s dra|
|000030f0| 77 20 72 6f 75 74 69 6e | 65 20 75 73 69 6e 67 20 |w routin|e using |
|00003100| 74 68 65 20 63 61 6c 6c | 69 6e 67 20 61 70 70 6c |the call|ing appl|
|00003110| 69 63 61 74 69 6f 6e d5 | 73 20 0d 51 75 69 63 6b |ication.|s .Quick|
|00003120| 44 72 61 77 20 70 61 74 | 74 65 72 6e 73 14 14 34 |Draw pat|terns..4|
|00003130| 2d 31 39 0d 4c 69 73 74 | 69 6e 67 20 34 2d 37 09 |-19.List|ing 4-7.|
|00003140| 53 74 72 69 70 70 69 6e | 67 20 74 68 65 20 70 72 |Strippin|g the pr|
|00003150| 6f 67 72 61 6d 20 63 6f | 75 6e 74 65 72 14 14 34 |ogram co|unter..4|
|00003160| 2d 32 31 0d 4c 69 73 74 | 69 6e 67 20 34 2d 38 09 |-21.List|ing 4-8.|
|00003170| 53 74 72 69 70 70 69 6e | 67 20 61 64 64 72 65 73 |Strippin|g addres|
|00003180| 73 65 73 20 69 6e 20 74 | 69 6d 65 2d 63 72 69 74 |ses in t|ime-crit|
|00003190| 69 63 61 6c 20 63 6f 64 | 65 14 14 34 2d 32 33 0d |ical cod|e..4-23.|
|000031a0| 4c 69 73 74 69 6e 67 20 | 34 2d 39 09 43 61 6c 63 |Listing |4-9.Calc|
|000031b0| 75 6c 61 74 69 6e 67 20 | 74 68 65 20 53 74 72 69 |ulating |the Stri|
|000031c0| 70 41 64 64 72 65 73 73 | 20 6d 61 73 6b 14 14 34 |pAddress| mask..4|
|000031d0| 2d 32 33 0d 4c 69 73 74 | 69 6e 67 20 34 2d 31 30 |-23.List|ing 4-10|
|000031e0| 09 54 72 61 6e 73 6c 61 | 74 69 6e 67 20 32 34 2d |.Transla|ting 24-|
|000031f0| 62 69 74 20 74 6f 20 33 | 32 2d 62 69 74 20 61 64 |bit to 3|2-bit ad|
|00003200| 64 72 65 73 73 65 73 14 | 14 34 2d 32 34 0d 41 62 |dresses.|.4-24.Ab|
|00003210| 6f 75 74 20 54 68 69 73 | 20 42 6f 6f 6b 0d 54 68 |out This| Book.Th|
|00003220| 69 73 20 62 6f 6f 6b 2c | 20 49 6e 73 69 64 65 20 |is book,| Inside |
|00003230| 4d 61 63 69 6e 74 6f 73 | 68 3a 20 4d 65 6d 6f 72 |Macintos|h: Memor|
|00003240| 79 2c 20 64 65 73 63 72 | 69 62 65 73 20 74 68 65 |y, descr|ibes the|
|00003250| 20 70 61 72 74 73 20 6f | 66 20 74 68 65 20 4d 61 | parts o|f the Ma|
|00003260| 63 69 6e 74 6f 73 68 20 | 4f 70 65 72 61 74 69 6e |cintosh |Operatin|
|00003270| 67 20 53 79 73 74 65 6d | 20 74 68 61 74 20 61 6c |g System| that al|
|00003280| 6c 6f 77 20 79 6f 75 20 | 74 6f 20 61 6c 6c 6f 63 |low you |to alloc|
|00003290| 61 74 65 20 6d 65 6d 6f | 72 79 20 64 69 72 65 63 |ate memo|ry direc|
|000032a0| 74 6c 79 2c 20 72 65 6c | 65 61 73 65 20 69 74 2c |tly, rel|ease it,|
|000032b0| 20 6f 72 20 6f 74 68 65 | 72 77 69 73 65 20 6d 61 | or othe|rwise ma|
|000032c0| 6e 69 70 75 6c 61 74 65 | 20 69 74 2e 20 54 68 65 |nipulate| it. The|
|000032d0| 20 62 6f 6f 6b 20 69 6e | 63 6c 75 64 65 73 20 69 | book in|cludes i|
|000032e0| 6e 74 72 6f 64 75 63 74 | 6f 72 79 20 6d 61 74 65 |ntroduct|ory mate|
|000032f0| 72 69 61 6c 20 61 62 6f | 75 74 20 6d 61 6e 61 67 |rial abo|ut manag|
|00003300| 69 6e 67 20 6d 65 6d 6f | 72 79 20 6f 6e 20 4d 61 |ing memo|ry on Ma|
|00003310| 63 69 6e 74 6f 73 68 20 | 63 6f 6d 70 75 74 65 72 |cintosh |computer|
|00003320| 73 20 61 73 20 77 65 6c | 6c 20 61 73 20 61 20 63 |s as wel|l as a c|
|00003330| 6f 6d 70 6c 65 74 65 20 | 74 65 63 68 6e 69 63 61 |omplete |technica|
|00003340| 6c 20 72 65 66 65 72 65 | 6e 63 65 20 74 6f 20 74 |l refere|nce to t|
|00003350| 68 65 20 4d 65 6d 6f 72 | 79 20 4d 61 6e 61 67 65 |he Memor|y Manage|
|00003360| 72 2c 20 74 68 65 20 56 | 69 72 74 75 61 6c 20 4d |r, the V|irtual M|
|00003370| 65 6d 6f 72 79 20 4d 61 | 6e 61 67 65 72 2c 20 61 |emory Ma|nager, a|
|00003380| 6e 64 20 6f 74 68 65 72 | 20 6d 65 6d 6f 72 79 2d |nd other| memory-|
|00003390| 72 65 6c 61 74 65 64 20 | 73 65 72 76 69 63 65 73 |related |services|
|000033a0| 20 70 72 6f 76 69 64 65 | 64 20 62 79 20 74 68 65 | provide|d by the|
|000033b0| 20 73 79 73 74 65 6d 20 | 73 6f 66 74 77 61 72 65 | system |software|
|000033c0| 2e 0d 49 66 20 79 6f 75 | 20 61 72 65 20 6e 65 77 |..If you| are new|
|000033d0| 20 74 6f 20 70 72 6f 67 | 72 61 6d 6d 69 6e 67 20 | to prog|ramming |
|000033e0| 6f 6e 20 74 68 65 20 4d | 61 63 69 6e 74 6f 73 68 |on the M|acintosh|
|000033f0| 20 4f 70 65 72 61 74 69 | 6e 67 20 53 79 73 74 65 | Operati|ng Syste|
|00003400| 6d 2c 20 79 6f 75 20 73 | 68 6f 75 6c 64 20 62 65 |m, you s|hould be|
|00003410| 67 69 6e 20 77 69 74 68 | 20 74 68 65 20 63 68 61 |gin with| the cha|
|00003420| 70 74 65 72 20 d2 49 6e | 74 72 6f 64 75 63 74 69 |pter .In|troducti|
|00003430| 6f 6e 20 74 6f 20 4d 65 | 6d 6f 72 79 20 4d 61 6e |on to Me|mory Man|
|00003440| 61 67 65 6d 65 6e 74 2e | d3 20 54 68 69 73 20 63 |agement.|. This c|
|00003450| 68 61 70 74 65 72 20 70 | 72 6f 76 69 64 65 73 20 |hapter p|rovides |
|00003460| 61 20 67 65 6e 65 72 61 | 6c 20 69 6e 74 72 6f 64 |a genera|l introd|
|00003470| 75 63 74 69 6f 6e 20 74 | 6f 20 6d 65 6d 6f 72 79 |uction t|o memory|
|00003480| 20 6d 61 6e 61 67 65 6d | 65 6e 74 20 6f 6e 20 4d | managem|ent on M|
|00003490| 61 63 69 6e 74 6f 73 68 | 20 63 6f 6d 70 75 74 65 |acintosh| compute|
|000034a0| 72 73 2e 20 49 74 20 64 | 65 73 63 72 69 62 65 73 |rs. It d|escribes|
|000034b0| 20 68 6f 77 20 74 68 65 | 20 4f 70 65 72 61 74 69 | how the| Operati|
|000034c0| 6e 67 20 53 79 73 74 65 | 6d 20 6f 72 67 61 6e 69 |ng Syste|m organi|
|000034d0| 7a 65 73 20 61 6e 64 20 | 6d 61 6e 61 67 65 73 20 |zes and |manages |
|000034e0| 74 68 65 20 61 76 61 69 | 6c 61 62 6c 65 20 6d 65 |the avai|lable me|
|000034f0| 6d 6f 72 79 2c 20 61 6e | 64 20 69 74 20 73 68 6f |mory, an|d it sho|
|00003500| 77 73 20 68 6f 77 20 79 | 6f 75 20 63 61 6e 20 75 |ws how y|ou can u|
|00003510| 73 65 20 74 68 65 20 73 | 65 72 76 69 63 65 73 20 |se the s|ervices |
|00003520| 70 72 6f 76 69 64 65 64 | 20 62 79 20 74 68 65 20 |provided| by the |
|00003530| 4d 65 6d 6f 72 79 20 4d | 61 6e 61 67 65 72 20 61 |Memory M|anager a|
|00003540| 6e 64 20 6f 74 68 65 72 | 20 73 79 73 74 65 6d 20 |nd other| system |
|00003550| 73 6f 66 74 77 61 72 65 | 20 63 6f 6d 70 6f 6e 65 |software| compone|
|00003560| 6e 74 73 20 74 6f 20 6d | 61 6e 61 67 65 20 74 68 |nts to m|anage th|
|00003570| 65 20 6d 65 6d 6f 72 79 | 20 69 6e 20 79 6f 75 72 |e memory| in your|
|00003580| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 70 61 72 | applica|tion par|
|00003590| 74 69 74 69 6f 6e 20 65 | 66 66 65 63 74 69 76 65 |tition e|ffective|
|000035a0| 6c 79 2e 20 42 65 63 61 | 75 73 65 20 74 68 69 73 |ly. Beca|use this|
|000035b0| 20 63 68 61 70 74 65 72 | 20 69 73 20 64 65 73 69 | chapter| is desi|
|000035c0| 67 6e 65 64 20 74 6f 20 | 62 65 20 6c 61 72 67 65 |gned to |be large|
|000035d0| 6c 79 20 73 65 6c 66 2d | 63 6f 6e 74 61 69 6e 65 |ly self-|containe|
|000035e0| 64 2c 20 74 68 65 20 72 | 65 66 65 72 65 6e 63 65 |d, the r|eference|
|000035f0| 20 61 6e 64 20 73 75 6d | 6d 61 72 79 20 73 65 63 | and sum|mary sec|
|00003600| 74 69 6f 6e 73 20 69 6e | 20 74 68 69 73 20 63 68 |tions in| this ch|
|00003610| 61 70 74 65 72 20 61 72 | 65 20 73 75 62 73 65 74 |apter ar|e subset|
|00003620| 73 20 6f 66 20 74 68 65 | 20 63 6f 72 72 65 73 70 |s of the| corresp|
|00003630| 6f 6e 64 69 6e 67 20 73 | 65 63 74 69 6f 6e 73 20 |onding s|ections |
|00003640| 66 72 6f 6d 20 74 68 65 | 20 6f 74 68 65 72 20 63 |from the| other c|
|00003650| 68 61 70 74 65 72 73 20 | 69 6e 20 74 68 69 73 20 |hapters |in this |
|00003660| 62 6f 6f 6b 2e 0d 4f 6e | 63 65 20 79 6f 75 20 61 |book..On|ce you a|
|00003670| 72 65 20 66 61 6d 69 6c | 69 61 72 20 77 69 74 68 |re famil|iar with|
|00003680| 20 62 61 73 69 63 20 6d | 65 6d 6f 72 79 20 6d 61 | basic m|emory ma|
|00003690| 6e 61 67 65 6d 65 6e 74 | 20 6f 6e 20 4d 61 63 69 |nagement| on Maci|
|000036a0| 6e 74 6f 73 68 20 63 6f | 6d 70 75 74 65 72 73 2c |ntosh co|mputers,|
|000036b0| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 6c 6f 6f 6b | you sho|uld look|
|000036c0| 20 61 74 20 74 68 65 20 | 63 68 61 70 74 65 72 20 | at the |chapter |
|000036d0| d2 4d 65 6d 6f 72 79 20 | 4d 61 6e 61 67 65 72 2e |.Memory |Manager.|
|000036e0| d3 20 49 74 20 64 65 73 | 63 72 69 62 65 73 20 68 |. It des|cribes h|
|000036f0| 6f 77 20 74 6f 20 61 6c | 6c 6f 63 61 74 65 20 6d |ow to al|locate m|
|00003700| 65 6d 6f 72 79 20 6f 75 | 74 73 69 64 65 20 79 6f |emory ou|tside yo|
|00003710| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 70 |ur appli|cation p|
|00003720| 61 72 74 69 74 69 6f 6e | 20 61 6e 64 20 68 6f 77 |artition| and how|
|00003730| 20 74 6f 20 70 65 72 66 | 6f 72 6d 20 6d 6f 72 65 | to perf|orm more|
|00003740| 20 61 64 76 61 6e 63 65 | 64 20 6d 65 6d 6f 72 79 | advance|d memory|
|00003750| 20 6f 70 65 72 61 74 69 | 6f 6e 73 20 74 68 61 6e | operati|ons than|
|00003760| 20 61 72 65 20 64 65 73 | 63 72 69 62 65 64 20 69 | are des|cribed i|
|00003770| 6e 20 74 68 65 20 69 6e | 74 72 6f 64 75 63 74 6f |n the in|troducto|
|00003780| 72 79 20 63 68 61 70 74 | 65 72 2e 0d 54 68 65 20 |ry chapt|er..The |
|00003790| 63 68 61 70 74 65 72 20 | d2 56 69 72 74 75 61 6c |chapter |.Virtual|
|000037a0| 20 4d 65 6d 6f 72 79 20 | 4d 61 6e 61 67 65 72 d3 | Memory |Manager.|
|000037b0| 20 64 65 73 63 72 69 62 | 65 73 20 74 68 65 20 6f | describ|es the o|
|000037c0| 70 65 72 61 74 69 6f 6e | 20 6f 66 20 76 69 72 74 |peration| of virt|
|000037d0| 75 61 6c 20 6d 65 6d 6f | 72 79 20 61 6e 64 20 64 |ual memo|ry and d|
|000037e0| 65 73 63 72 69 62 65 73 | 20 74 68 65 20 72 6f 75 |escribes| the rou|
|000037f0| 74 69 6e 65 73 20 74 68 | 61 74 20 79 6f 75 20 63 |tines th|at you c|
|00003800| 61 6e 20 75 73 65 20 74 | 6f 20 69 6e 74 65 72 76 |an use t|o interv|
|00003810| 65 6e 65 20 69 6e 20 74 | 68 65 20 6f 74 68 65 72 |ene in t|he other|
|00003820| 77 69 73 65 20 61 75 74 | 6f 6d 61 74 69 63 20 6f |wise aut|omatic o|
|00003830| 70 65 72 61 74 69 6f 6e | 73 20 6f 66 20 74 68 65 |peration|s of the|
|00003840| 20 56 69 72 74 75 61 6c | 20 4d 65 6d 6f 72 79 20 | Virtual| Memory |
|00003850| 4d 61 6e 61 67 65 72 2e | 20 4d 6f 73 74 20 61 70 |Manager.| Most ap|
|00003860| 70 6c 69 63 61 74 69 6f | 6e 73 20 61 72 65 20 6e |plicatio|ns are n|
|00003870| 6f 74 20 61 66 66 65 63 | 74 65 64 20 62 79 20 74 |ot affec|ted by t|
|00003880| 68 65 20 6f 70 65 72 61 | 74 69 6f 6e 20 6f 66 20 |he opera|tion of |
|00003890| 76 69 72 74 75 61 6c 20 | 6d 65 6d 6f 72 79 20 61 |virtual |memory a|
|000038a0| 6e 64 20 64 6f 20 6e 6f | 74 20 6e 65 65 64 20 74 |nd do no|t need t|
|000038b0| 6f 20 75 73 65 20 74 68 | 65 20 72 6f 75 74 69 6e |o use th|e routin|
|000038c0| 65 73 20 70 72 6f 76 69 | 64 65 64 20 62 79 20 74 |es provi|ded by t|
|000038d0| 68 65 20 56 69 72 74 75 | 61 6c 20 4d 65 6d 6f 72 |he Virtu|al Memor|
|000038e0| 79 20 4d 61 6e 61 67 65 | 72 2e 20 49 66 20 79 6f |y Manage|r. If yo|
|000038f0| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 73 |ur appli|cation s|
|00003900| 65 6e 64 73 20 6d 65 6d | 6f 72 79 20 61 64 64 72 |ends mem|ory addr|
|00003910| 65 73 73 65 73 20 74 6f | 20 73 6f 6d 65 20 4e 75 |esses to| some Nu|
|00003920| 42 75 73 3c 53 75 70 65 | 72 73 63 72 69 70 74 5c |Bus<Supe|rscript\|
|00003930| 3e 5c 78 61 61 20 20 6d | 61 73 74 65 72 20 68 61 |>\xaa m|aster ha|
|00003940| 72 64 77 61 72 65 2c 20 | 68 6f 77 65 76 65 72 2c |rdware, |however,|
|00003950| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 72 65 61 64 | you sho|uld read|
|00003960| 20 74 68 65 20 64 69 73 | 63 75 73 73 69 6f 6e 20 | the dis|cussion |
|00003970| 6f 66 20 6d 61 70 70 69 | 6e 67 20 76 69 72 74 75 |of mappi|ng virtu|
|00003980| 61 6c 20 74 6f 20 70 68 | 79 73 69 63 61 6c 20 61 |al to ph|ysical a|
|00003990| 64 64 72 65 73 73 65 73 | 20 69 6e 20 74 68 61 74 |ddresses| in that|
|000039a0| 20 63 68 61 70 74 65 72 | 2e 0d 54 68 65 20 66 69 | chapter|..The fi|
|000039b0| 6e 61 6c 20 63 68 61 70 | 74 65 72 20 69 6e 20 74 |nal chap|ter in t|
|000039c0| 68 69 73 20 62 6f 6f 6b | 2c 20 d2 4d 65 6d 6f 72 |his book|, .Memor|
|000039d0| 79 20 4d 61 6e 61 67 65 | 6d 65 6e 74 20 55 74 69 |y Manage|ment Uti|
|000039e0| 6c 69 74 69 65 73 2c d3 | 20 64 65 73 63 72 69 62 |lities,.| describ|
|000039f0| 65 73 20 61 20 6e 75 6d | 62 65 72 20 6f 66 20 75 |es a num|ber of u|
|00003a00| 74 69 6c 69 74 79 20 72 | 6f 75 74 69 6e 65 73 20 |tility r|outines |
|00003a10| 70 72 6f 76 69 64 65 64 | 20 62 79 20 74 68 65 20 |provided| by the |
|00003a20| 73 79 73 74 65 6d 20 73 | 6f 66 74 77 61 72 65 2e |system s|oftware.|
|00003a30| 20 59 6f 75 20 6e 65 65 | 64 20 74 6f 20 72 65 61 | You nee|d to rea|
|00003a40| 64 20 74 68 69 73 20 63 | 68 61 70 74 65 72 20 70 |d this c|hapter p|
|00003a50| 72 69 6d 61 72 69 6c 79 | 20 69 66 20 79 6f 75 20 |rimarily| if you |
|00003a60| 69 6e 73 74 61 6c 6c 20 | 72 6f 75 74 69 6e 65 73 |install |routines|
|00003a70| 20 74 68 61 74 20 61 72 | 65 20 65 78 65 63 75 74 | that ar|e execut|
|00003a80| 65 64 20 62 79 20 73 79 | 73 74 65 6d 20 73 6f 66 |ed by sy|stem sof|
|00003a90| 74 77 61 72 65 20 72 6f | 75 74 69 6e 65 73 20 6f |tware ro|utines o|
|00003aa0| 72 20 69 6e 20 72 65 73 | 70 6f 6e 73 65 20 74 6f |r in res|ponse to|
|00003ab0| 20 61 6e 20 69 6e 74 65 | 72 72 75 70 74 2c 20 6f | an inte|rrupt, o|
|00003ac0| 72 20 69 66 20 79 6f 75 | 20 6e 65 65 64 20 74 6f |r if you| need to|
|00003ad0| 20 63 68 61 6e 67 65 20 | 0d 74 68 65 20 61 64 64 | change |.the add|
|00003ae0| 72 65 73 73 69 6e 67 20 | 6d 6f 64 65 2e 20 59 6f |ressing |mode. Yo|
|00003af0| 75 20 61 6c 73 6f 20 6e | 65 65 64 20 74 6f 20 72 |u also n|eed to r|
|00003b00| 65 61 64 20 74 68 69 73 | 20 63 68 61 70 74 65 72 |ead this| chapter|
|00003b10| 20 69 66 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 | if your| applica|
|00003b20| 74 69 6f 6e 20 6d 69 67 | 68 74 20 62 65 20 61 66 |tion mig|ht be af|
|00003b30| 66 65 63 74 65 64 20 62 | 79 20 74 68 65 20 6e 6f |fected b|y the no|
|00003b40| 72 6d 61 6c 20 6f 70 65 | 72 61 74 69 6f 6e 20 6f |rmal ope|ration o|
|00003b50| 66 20 74 68 65 20 70 72 | 6f 63 65 73 73 6f 72 d5 |f the pr|ocessor.|
|00003b60| 73 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 20 6f 72 |s instru|ction or|
|00003b70| 20 64 61 74 61 20 63 61 | 63 68 65 73 2e 0d 46 6f | data ca|ches..Fo|
|00003b80| 72 6d 61 74 20 6f 66 20 | 61 20 54 79 70 69 63 61 |rmat of |a Typica|
|00003b90| 6c 20 43 68 61 70 74 65 | 72 0d 41 6c 6d 6f 73 74 |l Chapte|r.Almost|
|00003ba0| 20 61 6c 6c 20 63 68 61 | 70 74 65 72 73 20 69 6e | all cha|pters in|
|00003bb0| 20 74 68 69 73 20 62 6f | 6f 6b 20 66 6f 6c 6c 6f | this bo|ok follo|
|00003bc0| 77 20 61 20 73 74 61 6e | 64 61 72 64 20 73 74 72 |w a stan|dard str|
|00003bd0| 75 63 74 75 72 65 2e 20 | 46 6f 72 20 65 78 61 6d |ucture. |For exam|
|00003be0| 70 6c 65 2c 20 74 68 65 | 20 4d 65 6d 6f 72 79 20 |ple, the| Memory |
|00003bf0| 4d 61 6e 61 67 65 72 20 | 63 68 61 70 74 65 72 20 |Manager |chapter |
|00003c00| 63 6f 6e 74 61 69 6e 73 | 20 74 68 65 73 65 20 73 |contains| these s|
|00003c10| 65 63 74 69 6f 6e 73 3a | 0d 6e 09 d2 41 62 6f 75 |ections:|.n..Abou|
|00003c20| 74 20 74 68 65 20 4d 65 | 6d 6f 72 79 20 4d 61 6e |t the Me|mory Man|
|00003c30| 61 67 65 72 2e d3 20 54 | 68 69 73 20 73 65 63 74 |ager.. T|his sect|
|00003c40| 69 6f 6e 20 70 72 6f 76 | 69 64 65 73 20 61 6e 20 |ion prov|ides an |
|00003c50| 6f 76 65 72 76 69 65 77 | 20 6f 66 20 74 68 65 20 |overview| of the |
|00003c60| 66 65 61 74 75 72 65 73 | 20 70 72 6f 76 69 64 65 |features| provide|
|00003c70| 64 20 62 79 20 74 68 65 | 20 4d 65 6d 6f 72 79 20 |d by the| Memory |
|00003c80| 4d 61 6e 61 67 65 72 2e | 0d 6e 09 d2 55 73 69 6e |Manager.|.n..Usin|
|00003c90| 67 20 74 68 65 20 4d 65 | 6d 6f 72 79 20 4d 61 6e |g the Me|mory Man|
|00003ca0| 61 67 65 72 2e d3 20 54 | 68 69 73 20 73 65 63 74 |ager.. T|his sect|
|00003cb0| 69 6f 6e 20 64 65 73 63 | 72 69 62 65 73 20 74 68 |ion desc|ribes th|
|00003cc0| 65 20 74 61 73 6b 73 20 | 79 6f 75 20 63 61 6e 20 |e tasks |you can |
|00003cd0| 61 63 63 6f 6d 70 6c 69 | 73 68 20 75 73 69 6e 67 |accompli|sh using|
|00003ce0| 20 74 68 65 20 4d 65 6d | 6f 72 79 20 4d 61 6e 61 | the Mem|ory Mana|
|00003cf0| 67 65 72 2e 20 49 74 20 | 64 65 73 63 72 69 62 65 |ger. It |describe|
|00003d00| 73 20 68 6f 77 20 74 6f | 20 75 73 65 20 74 68 65 |s how to| use the|
|00003d10| 20 6d 6f 73 74 20 63 6f | 6d 6d 6f 6e 20 72 6f 75 | most co|mmon rou|
|00003d20| 74 69 6e 65 73 2c 20 67 | 69 76 65 73 20 72 65 6c |tines, g|ives rel|
|00003d30| 61 74 65 64 20 75 73 65 | 72 20 69 6e 74 65 72 66 |ated use|r interf|
|00003d40| 61 63 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2c |ace info|rmation,|
|00003d50| 20 70 72 6f 76 69 64 65 | 73 20 63 6f 64 65 20 73 | provide|s code s|
|00003d60| 61 6d 70 6c 65 73 2c 20 | 61 6e 64 20 73 75 70 70 |amples, |and supp|
|00003d70| 6c 69 65 73 20 61 64 64 | 69 74 69 6f 6e 61 6c 20 |lies add|itional |
|00003d80| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 2e 0d 6e 09 d2 |informat|ion..n..|
|00003d90| 4d 65 6d 6f 72 79 20 4d | 61 6e 61 67 65 72 20 52 |Memory M|anager R|
|00003da0| 65 66 65 72 65 6e 63 65 | 2e d3 20 54 68 69 73 20 |eference|.. This |
|00003db0| 73 65 63 74 69 6f 6e 20 | 70 72 6f 76 69 64 65 73 |section |provides|
|00003dc0| 20 61 20 63 6f 6d 70 6c | 65 74 65 20 72 65 66 65 | a compl|ete refe|
|00003dd0| 72 65 6e 63 65 20 74 6f | 20 74 68 65 20 4d 65 6d |rence to| the Mem|
|00003de0| 6f 72 79 20 4d 61 6e 61 | 67 65 72 20 62 79 20 64 |ory Mana|ger by d|
|00003df0| 65 73 63 72 69 62 69 6e | 67 20 74 68 65 20 64 61 |escribin|g the da|
|00003e00| 74 61 20 73 74 72 75 63 | 74 75 72 65 73 2c 20 72 |ta struc|tures, r|
|00003e10| 6f 75 74 69 6e 65 73 2c | 20 61 6e 64 20 72 65 73 |outines,| and res|
|00003e20| 6f 75 72 63 65 73 20 74 | 68 61 74 20 69 74 20 75 |ources t|hat it u|
|00003e30| 73 65 73 2e 20 45 61 63 | 68 20 72 6f 75 74 69 6e |ses. Eac|h routin|
|00003e40| 65 20 64 65 73 63 72 69 | 70 74 69 6f 6e 20 61 6c |e descri|ption al|
|00003e50| 73 6f 20 66 6f 6c 6c 6f | 77 73 20 61 20 73 74 61 |so follo|ws a sta|
|00003e60| 6e 64 61 72 64 20 66 6f | 72 6d 61 74 2c 20 77 68 |ndard fo|rmat, wh|
|00003e70| 69 63 68 20 67 69 76 65 | 73 20 74 68 65 20 72 6f |ich give|s the ro|
|00003e80| 75 74 69 6e 65 20 64 65 | 63 6c 61 72 61 74 69 6f |utine de|claratio|
|00003e90| 6e 20 61 6e 64 20 64 65 | 73 63 72 69 70 74 69 6f |n and de|scriptio|
|00003ea0| 6e 20 6f 66 20 65 76 65 | 72 79 20 70 61 72 61 6d |n of eve|ry param|
|00003eb0| 65 74 65 72 20 6f 66 20 | 74 68 65 20 72 6f 75 74 |eter of |the rout|
|00003ec0| 69 6e 65 2e 20 53 6f 6d | 65 20 72 6f 75 74 69 6e |ine. Som|e routin|
|00003ed0| 65 20 64 65 73 63 72 69 | 70 74 69 6f 6e 73 20 61 |e descri|ptions a|
|00003ee0| 6c 73 6f 20 67 69 76 65 | 20 61 64 64 69 74 69 6f |lso give| additio|
|00003ef0| 6e 61 6c 20 64 65 73 63 | 72 69 70 74 69 76 65 20 |nal desc|riptive |
|00003f00| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 2c 20 73 75 63 |informat|ion, suc|
|00003f10| 68 20 61 73 20 61 73 73 | 65 6d 62 6c 79 2d 6c 61 |h as ass|embly-la|
|00003f20| 6e 67 75 61 67 65 20 69 | 6e 66 6f 72 6d 61 74 69 |nguage i|nformati|
|00003f30| 6f 6e 20 6f 72 20 0d 72 | 65 73 75 6c 74 20 63 6f |on or .r|esult co|
|00003f40| 64 65 73 2e 0d 6e 09 d2 | 53 75 6d 6d 61 72 79 20 |des..n..|Summary |
|00003f50| 6f 66 20 74 68 65 20 4d | 65 6d 6f 72 79 20 4d 61 |of the M|emory Ma|
|00003f60| 6e 61 67 65 72 2e d3 20 | 54 68 69 73 20 73 65 63 |nager.. |This sec|
|00003f70| 74 69 6f 6e 20 70 72 6f | 76 69 64 65 73 20 74 68 |tion pro|vides th|
|00003f80| 65 20 4d 65 6d 6f 72 79 | 20 4d 61 6e 61 67 65 72 |e Memory| Manager|
|00003f90| d5 73 20 50 61 73 63 61 | 6c 20 69 6e 74 65 72 66 |.s Pasca|l interf|
|00003fa0| 61 63 65 2c 20 61 73 20 | 77 65 6c 6c 20 61 73 20 |ace, as |well as |
|00003fb0| 74 68 65 20 43 20 69 6e | 74 65 72 66 61 63 65 2c |the C in|terface,|
|00003fc0| 20 66 6f 72 20 74 68 65 | 20 63 6f 6e 73 74 61 6e | for the| constan|
|00003fd0| 74 73 2c 20 64 61 74 61 | 20 73 74 72 75 63 74 75 |ts, data| structu|
|00003fe0| 72 65 73 2c 20 72 6f 75 | 74 69 6e 65 73 2c 20 61 |res, rou|tines, a|
|00003ff0| 6e 64 20 72 65 73 75 6c | 74 20 63 6f 64 65 73 20 |nd resul|t codes |
|00004000| 61 73 73 6f 63 69 61 74 | 65 64 20 77 69 74 68 20 |associat|ed with |
|00004010| 74 68 65 20 4d 65 6d 6f | 72 79 20 4d 61 6e 61 67 |the Memo|ry Manag|
|00004020| 65 72 2e 20 49 74 20 61 | 6c 73 6f 20 69 6e 63 6c |er. It a|lso incl|
|00004030| 75 64 65 73 20 72 65 6c | 65 76 61 6e 74 20 61 73 |udes rel|evant as|
|00004040| 73 65 6d 62 6c 79 2d 6c | 61 6e 67 75 61 67 65 20 |sembly-l|anguage |
|00004050| 69 6e 74 65 72 66 61 63 | 65 20 69 6e 66 6f 72 6d |interfac|e inform|
|00004060| 61 74 69 6f 6e 2e 0d 53 | 6f 6d 65 20 63 68 61 70 |ation..S|ome chap|
|00004070| 74 65 72 73 20 61 6c 73 | 6f 20 63 6f 6e 74 61 69 |ters als|o contai|
|00004080| 6e 20 61 64 64 69 74 69 | 6f 6e 61 6c 20 6d 61 69 |n additi|onal mai|
|00004090| 6e 20 73 65 63 74 69 6f | 6e 73 20 74 68 61 74 20 |n sectio|ns that |
|000040a0| 70 72 6f 76 69 64 65 20 | 6d 6f 72 65 20 64 65 74 |provide |more det|
|000040b0| 61 69 6c 65 64 20 64 69 | 73 63 75 73 73 69 6f 6e |ailed di|scussion|
|000040c0| 73 20 6f 66 20 63 65 72 | 74 61 69 6e 20 74 6f 70 |s of cer|tain top|
|000040d0| 69 63 73 2e 20 46 6f 72 | 20 65 78 61 6d 70 6c 65 |ics. For| example|
|000040e0| 2c 20 74 68 65 20 4d 65 | 6d 6f 72 79 20 4d 61 6e |, the Me|mory Man|
|000040f0| 61 67 65 72 20 63 68 61 | 70 74 65 72 20 63 6f 6e |ager cha|pter con|
|00004100| 74 61 69 6e 73 20 74 68 | 65 20 73 65 63 74 69 6f |tains th|e sectio|
|00004110| 6e 20 d2 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 20 |n .Organ|ization |
|00004120| 6f 66 20 4d 65 6d 6f 72 | 79 d3 20 74 68 61 74 20 |of Memor|y. that |
|00004130| 64 65 73 63 72 69 62 65 | 73 20 68 6f 77 20 74 68 |describe|s how th|
|00004140| 65 20 4d 65 6d 6f 72 79 | 20 4d 61 6e 61 67 65 72 |e Memory| Manager|
|00004150| 20 6f 72 67 61 6e 69 7a | 65 73 20 7a 6f 6e 65 73 | organiz|es zones|
|00004160| 20 61 6e 64 20 62 6c 6f | 63 6b 73 20 69 6e 20 52 | and blo|cks in R|
|00004170| 41 4d 2e 0d 43 6f 6e 76 | 65 6e 74 69 6f 6e 73 20 |AM..Conv|entions |
|00004180| 55 73 65 64 20 69 6e 20 | 54 68 69 73 20 42 6f 6f |Used in |This Boo|
|00004190| 6b 0d 49 6e 73 69 64 65 | 20 4d 61 63 69 6e 74 6f |k.Inside| Macinto|
|000041a0| 73 68 20 75 73 65 73 20 | 76 61 72 69 6f 75 73 20 |sh uses |various |
|000041b0| 63 6f 6e 76 65 6e 74 69 | 6f 6e 73 20 74 6f 20 70 |conventi|ons to p|
|000041c0| 72 65 73 65 6e 74 20 69 | 6e 66 6f 72 6d 61 74 69 |resent i|nformati|
|000041d0| 6f 6e 2e 20 57 6f 72 64 | 73 20 74 68 61 74 20 72 |on. Word|s that r|
|000041e0| 65 71 75 69 72 65 20 73 | 70 65 63 69 61 6c 20 74 |equire s|pecial t|
|000041f0| 72 65 61 74 6d 65 6e 74 | 20 61 70 70 65 61 72 20 |reatment| appear |
|00004200| 69 6e 20 73 70 65 63 69 | 66 69 63 20 66 6f 6e 74 |in speci|fic font|
|00004210| 73 20 6f 72 20 66 6f 6e | 74 20 73 74 79 6c 65 73 |s or fon|t styles|
|00004220| 2e 20 43 65 72 74 61 69 | 6e 20 69 6e 66 6f 72 6d |. Certai|n inform|
|00004230| 61 74 69 6f 6e 2c 20 73 | 75 63 68 20 61 73 20 70 |ation, s|uch as p|
|00004240| 61 72 61 6d 65 74 65 72 | 20 62 6c 6f 63 6b 73 2c |arameter| blocks,|
|00004250| 20 75 73 65 20 73 70 65 | 63 69 61 6c 20 66 6f 72 | use spe|cial for|
|00004260| 6d 61 74 73 20 73 6f 20 | 74 68 61 74 20 79 6f 75 |mats so |that you|
|00004270| 20 63 61 6e 20 73 63 61 | 6e 20 74 68 65 6d 20 71 | can sca|n them q|
|00004280| 75 69 63 6b 6c 79 2e 0d | 53 70 65 63 69 61 6c 20 |uickly..|Special |
|00004290| 46 6f 6e 74 73 0d 41 6c | 6c 20 63 6f 64 65 20 6c |Fonts.Al|l code l|
|000042a0| 69 73 74 69 6e 67 73 2c | 20 20 72 65 73 65 72 76 |istings,| reserv|
|000042b0| 65 64 20 77 6f 72 64 73 | 2c 20 61 6e 64 20 74 68 |ed words|, and th|
|000042c0| 65 20 6e 61 6d 65 73 20 | 6f 66 20 61 63 74 75 61 |e names |of actua|
|000042d0| 6c 20 64 61 74 61 20 73 | 74 72 75 63 74 75 72 65 |l data s|tructure|
|000042e0| 73 2c 20 63 6f 6e 73 74 | 61 6e 74 73 2c 20 66 69 |s, const|ants, fi|
|000042f0| 65 6c 64 73 2c 20 70 61 | 72 61 6d 65 74 65 72 73 |elds, pa|rameters|
|00004300| 2c 20 61 6e 64 20 72 6f | 75 74 69 6e 65 73 20 61 |, and ro|utines a|
|00004310| 72 65 20 73 68 6f 77 6e | 20 69 6e 20 43 6f 75 72 |re shown| in Cour|
|00004320| 69 65 72 20 28 74 68 69 | 73 20 0d 69 73 20 43 6f |ier (thi|s .is Co|
|00004330| 75 72 69 65 72 29 2e 0d | 57 6f 72 64 73 20 74 68 |urier)..|Words th|
|00004340| 61 74 20 61 70 70 65 61 | 72 20 69 6e 20 62 6f 6c |at appea|r in bol|
|00004350| 64 66 61 63 65 20 61 72 | 65 20 6b 65 79 20 74 65 |dface ar|e key te|
|00004360| 72 6d 73 20 6f 72 20 63 | 6f 6e 63 65 70 74 73 20 |rms or c|oncepts |
|00004370| 61 6e 64 20 61 72 65 20 | 64 65 66 69 6e 65 64 20 |and are |defined |
|00004380| 69 6e 20 74 68 65 20 47 | 6c 6f 73 73 61 72 79 2e |in the G|lossary.|
|00004390| 0d 54 79 70 65 73 20 6f | 66 20 4e 6f 74 65 73 0d |.Types o|f Notes.|
|000043a0| 54 68 65 72 65 20 61 72 | 65 20 73 65 76 65 72 61 |There ar|e severa|
|000043b0| 6c 20 74 79 70 65 73 20 | 6f 66 20 6e 6f 74 65 73 |l types |of notes|
|000043c0| 20 75 73 65 64 20 69 6e | 20 74 68 69 73 20 62 6f | used in| this bo|
|000043d0| 6f 6b 2e 0d 4e 6f 74 65 | 0d 41 20 6e 6f 74 65 20 |ok..Note|.A note |
|000043e0| 6c 69 6b 65 20 74 68 69 | 73 20 63 6f 6e 74 61 69 |like thi|s contai|
|000043f0| 6e 73 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 74 |ns infor|mation t|
|00004400| 68 61 74 20 69 73 20 69 | 6e 74 65 72 65 73 74 69 |hat is i|nteresti|
|00004410| 6e 67 20 62 75 74 20 70 | 6f 73 73 69 62 6c 79 20 |ng but p|ossibly |
|00004420| 6e 6f 74 20 65 73 73 65 | 6e 74 69 61 6c 20 74 6f |not esse|ntial to|
|00004430| 20 61 6e 20 75 6e 64 65 | 72 73 74 61 6e 64 69 6e | an unde|rstandin|
|00004440| 67 20 6f 66 20 74 68 65 | 20 6d 61 69 6e 20 74 65 |g of the| main te|
|00004450| 78 74 2e 20 28 41 6e 20 | 65 78 61 6d 70 6c 65 20 |xt. (An |example |
|00004460| 61 70 70 65 61 72 73 20 | 6f 6e 20 70 61 67 65 20 |appears |on page |
|00004470| 31 2d 38 2e 29 5c 78 31 | 33 20 3c 38 62 61 74 5c |1-8.)\x1|3 <8bat\|
|00004480| 3e 75 0d 49 4d 50 4f 52 | 54 41 4e 54 0d 41 20 6e |>u.IMPOR|TANT.A n|
|00004490| 6f 74 65 20 6c 69 6b 65 | 20 74 68 69 73 20 63 6f |ote like| this co|
|000044a0| 6e 74 61 69 6e 73 20 69 | 6e 66 6f 72 6d 61 74 69 |ntains i|nformati|
|000044b0| 6f 6e 20 74 68 61 74 20 | 69 73 20 65 73 73 65 6e |on that |is essen|
|000044c0| 74 69 61 6c 20 66 6f 72 | 20 61 6e 20 75 6e 64 65 |tial for| an unde|
|000044d0| 72 73 74 61 6e 64 69 6e | 67 20 6f 66 20 74 68 65 |rstandin|g of the|
|000044e0| 20 6d 61 69 6e 20 74 65 | 78 74 2e 20 28 41 6e 20 | main te|xt. (An |
|000044f0| 65 78 61 6d 70 6c 65 20 | 61 70 70 65 61 72 73 20 |example |appears |
|00004500| 6f 6e 20 70 61 67 65 20 | 32 2d 37 2e 29 5c 78 31 |on page |2-7.)\x1|
|00004510| 33 20 3c 38 62 61 74 5c | 3e 73 0d 73 57 41 52 4e |3 <8bat\|>s.sWARN|
|00004520| 49 4e 47 0d 57 61 72 6e | 69 6e 67 73 20 6c 69 6b |ING.Warn|ings lik|
|00004530| 65 20 74 68 69 73 20 69 | 6e 64 69 63 61 74 65 20 |e this i|ndicate |
|00004540| 70 6f 74 65 6e 74 69 61 | 6c 20 70 72 6f 62 6c 65 |potentia|l proble|
|00004550| 6d 73 20 74 68 61 74 20 | 79 6f 75 20 73 68 6f 75 |ms that |you shou|
|00004560| 6c 64 20 62 65 20 61 77 | 61 72 65 20 6f 66 20 61 |ld be aw|are of a|
|00004570| 73 20 79 6f 75 20 64 65 | 73 69 67 6e 20 79 6f 75 |s you de|sign you|
|00004580| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2e 20 46 |r applic|ation. F|
|00004590| 61 69 6c 75 72 65 20 74 | 6f 20 68 65 65 64 20 74 |ailure t|o heed t|
|000045a0| 68 65 73 65 20 77 61 72 | 6e 69 6e 67 73 20 63 6f |hese war|nings co|
|000045b0| 75 6c 64 20 72 65 73 75 | 6c 74 20 69 6e 20 73 79 |uld resu|lt in sy|
|000045c0| 73 74 65 6d 20 63 72 61 | 73 68 65 73 20 6f 72 20 |stem cra|shes or |
|000045d0| 6c 6f 73 73 20 6f 66 20 | 64 61 74 61 2e 20 28 41 |loss of |data. (A|
|000045e0| 6e 20 65 78 61 6d 70 6c | 65 20 61 70 70 65 61 72 |n exampl|e appear|
|000045f0| 73 20 6f 6e 20 70 61 67 | 65 20 31 2d 31 36 2e 29 |s on pag|e 1-16.)|
|00004600| 5c 78 31 33 20 3c 38 62 | 61 74 5c 3e 73 0d 41 73 |\x13 <8b|at\>s.As|
|00004610| 73 65 6d 62 6c 79 2d 4c | 61 6e 67 75 61 67 65 20 |sembly-L|anguage |
|00004620| 49 6e 66 6f 72 6d 61 74 | 69 6f 6e 0d 49 6e 73 69 |Informat|ion.Insi|
|00004630| 64 65 20 4d 61 63 69 6e | 74 6f 73 68 20 70 72 6f |de Macin|tosh pro|
|00004640| 76 69 64 65 73 20 69 6e | 66 6f 72 6d 61 74 69 6f |vides in|formatio|
|00004650| 6e 20 61 62 6f 75 74 20 | 74 68 65 20 72 65 67 69 |n about |the regi|
|00004660| 73 74 65 72 73 20 66 6f | 72 20 73 70 65 63 69 66 |sters fo|r specif|
|00004670| 69 63 20 72 6f 75 74 69 | 6e 65 73 20 6c 69 6b 65 |ic routi|nes like|
|00004680| 20 74 68 69 73 3a 0d 52 | 65 67 69 73 74 65 72 73 | this:.R|egisters|
|00004690| 20 6f 6e 20 65 6e 74 72 | 79 09 09 0d 41 30 09 43 | on entr|y...A0.C|
|000046a0| 6f 6e 74 65 6e 74 73 20 | 6f 66 20 72 65 67 69 73 |ontents |of regis|
|000046b0| 74 65 72 20 41 30 20 6f | 6e 20 65 6e 74 72 79 09 |ter A0 o|n entry.|
|000046c0| 0d 0d 52 65 67 69 73 74 | 65 72 73 20 6f 6e 20 65 |..Regist|ers on e|
|000046d0| 78 69 74 09 09 0d 44 30 | 09 43 6f 6e 74 65 6e 74 |xit...D0|.Content|
|000046e0| 73 20 6f 66 20 72 65 67 | 69 73 74 65 72 20 44 30 |s of reg|ister D0|
|000046f0| 20 6f 6e 20 65 78 69 74 | 09 0d 0d 49 6e 20 61 64 | on exit|...In ad|
|00004700| 64 69 74 69 6f 6e 2c 20 | 49 6e 73 69 64 65 20 4d |dition, |Inside M|
|00004710| 61 63 69 6e 74 6f 73 68 | 20 70 72 65 73 65 6e 74 |acintosh| present|
|00004720| 73 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 61 62 |s inform|ation ab|
|00004730| 6f 75 74 20 74 68 65 20 | 66 69 65 6c 64 73 20 6f |out the |fields o|
|00004740| 66 20 61 20 70 61 72 61 | 6d 65 74 65 72 20 62 6c |f a para|meter bl|
|00004750| 6f 63 6b 20 69 6e 20 74 | 68 69 73 20 66 6f 72 6d |ock in t|his form|
|00004760| 61 74 3a 0d 50 61 72 61 | 6d 65 74 65 72 20 62 6c |at:.Para|meter bl|
|00004770| 6f 63 6b ab 09 69 6e 41 | 6e 64 4f 75 74 09 49 6e |ock..inA|ndOut.In|
|00004780| 74 65 67 65 72 09 49 6e | 70 75 74 2f 6f 75 74 70 |teger.In|put/outp|
|00004790| 75 74 20 70 61 72 61 6d | 65 74 65 72 2e 09 0d ac |ut param|eter....|
|000047a0| 09 6f 75 74 70 75 74 31 | 09 50 74 72 09 4f 75 74 |.output1|.Ptr.Out|
|000047b0| 70 75 74 20 70 61 72 61 | 6d 65 74 65 72 2e 09 0d |put para|meter...|
|000047c0| ae 09 69 6e 70 75 74 31 | 09 50 74 72 09 49 6e 70 |..input1|.Ptr.Inp|
|000047d0| 75 74 20 70 61 72 61 6d | 65 74 65 72 2e 09 0d 0d |ut param|eter....|
|000047e0| 54 68 65 20 61 72 72 6f | 77 20 69 6e 20 74 68 65 |The arro|w in the|
|000047f0| 20 66 61 72 20 6c 65 66 | 74 20 63 6f 6c 75 6d 6e | far lef|t column|
|00004800| 20 69 6e 64 69 63 61 74 | 65 73 20 77 68 65 74 68 | indicat|es wheth|
|00004810| 65 72 20 74 68 65 20 66 | 69 65 6c 64 20 69 73 20 |er the f|ield is |
|00004820| 61 6e 20 69 6e 70 75 74 | 20 70 61 72 61 6d 65 74 |an input| paramet|
|00004830| 65 72 2c 20 6f 75 74 70 | 75 74 20 70 61 72 61 6d |er, outp|ut param|
|00004840| 65 74 65 72 2c 20 6f 72 | 20 62 6f 74 68 2e 20 59 |eter, or| both. Y|
|00004850| 6f 75 20 6d 75 73 74 20 | 73 75 70 70 6c 79 20 76 |ou must |supply v|
|00004860| 61 6c 75 65 73 20 66 6f | 72 20 61 6c 6c 20 69 6e |alues fo|r all in|
|00004870| 70 75 74 20 70 61 72 61 | 6d 65 74 65 72 73 20 61 |put para|meters a|
|00004880| 6e 64 20 69 6e 70 75 74 | 2f 6f 75 74 70 75 74 20 |nd input|/output |
|00004890| 70 61 72 61 6d 65 74 65 | 72 73 2e 20 54 68 65 20 |paramete|rs. The |
|000048a0| 72 6f 75 74 69 6e 65 20 | 72 65 74 75 72 6e 73 20 |routine |returns |
|000048b0| 76 61 6c 75 65 73 20 69 | 6e 20 6f 75 74 70 75 74 |values i|n output|
|000048c0| 20 70 61 72 61 6d 65 74 | 65 72 73 20 61 6e 64 20 | paramet|ers and |
|000048d0| 69 6e 70 75 74 2f 6f 75 | 74 70 75 74 20 70 61 72 |input/ou|tput par|
|000048e0| 61 6d 65 74 65 72 73 2e | 0d 54 68 65 20 73 65 63 |ameters.|.The sec|
|000048f0| 6f 6e 64 20 63 6f 6c 75 | 6d 6e 20 73 68 6f 77 73 |ond colu|mn shows|
|00004900| 20 74 68 65 20 66 69 65 | 6c 64 20 6e 61 6d 65 20 | the fie|ld name |
|00004910| 61 73 20 64 65 66 69 6e | 65 64 20 69 6e 20 74 68 |as defin|ed in th|
|00004920| 65 20 4d 50 57 20 50 61 | 73 63 61 6c 20 69 6e 74 |e MPW Pa|scal int|
|00004930| 65 72 66 61 63 65 20 66 | 69 6c 65 73 3b 20 74 68 |erface f|iles; th|
|00004940| 65 20 74 68 69 72 64 20 | 63 6f 6c 75 6d 6e 20 69 |e third |column i|
|00004950| 6e 64 69 63 61 74 65 73 | 20 74 68 65 20 50 61 73 |ndicates| the Pas|
|00004960| 63 61 6c 20 64 61 74 61 | 20 74 79 70 65 20 6f 66 |cal data| type of|
|00004970| 20 74 68 61 74 20 66 69 | 65 6c 64 2e 20 54 68 65 | that fi|eld. The|
|00004980| 20 66 6f 75 72 74 68 20 | 63 6f 6c 75 6d 6e 20 70 | fourth |column p|
|00004990| 72 6f 76 69 64 65 73 20 | 61 20 62 72 69 65 66 20 |rovides |a brief |
|000049a0| 64 65 73 63 72 69 70 74 | 69 6f 6e 20 6f 66 20 74 |descript|ion of t|
|000049b0| 68 65 20 75 73 65 20 6f | 66 20 74 68 65 20 66 69 |he use o|f the fi|
|000049c0| 65 6c 64 2e 20 46 6f 72 | 20 61 20 63 6f 6d 70 6c |eld. For| a compl|
|000049d0| 65 74 65 20 64 65 73 63 | 72 69 70 74 69 6f 6e 20 |ete desc|ription |
|000049e0| 6f 66 20 65 61 63 68 20 | 66 69 65 6c 64 2c 20 73 |of each |field, s|
|000049f0| 65 65 20 74 68 65 20 64 | 69 73 63 75 73 73 69 6f |ee the d|iscussio|
|00004a00| 6e 20 74 68 61 74 20 66 | 6f 6c 6c 6f 77 73 20 74 |n that f|ollows t|
|00004a10| 68 65 20 70 61 72 61 6d | 65 74 65 72 20 62 6c 6f |he param|eter blo|
|00004a20| 63 6b 20 6f 72 20 74 68 | 65 20 64 65 73 63 72 69 |ck or th|e descri|
|00004a30| 70 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 70 61 72 |ption of| the par|
|00004a40| 61 6d 65 74 65 72 20 62 | 6c 6f 63 6b 20 69 6e 20 |ameter b|lock in |
|00004a50| 74 68 65 20 72 65 66 65 | 72 65 6e 63 65 20 73 65 |the refe|rence se|
|00004a60| 63 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 63 68 61 |ction of| the cha|
|00004a70| 70 74 65 72 2e 0d 44 65 | 76 65 6c 6f 70 6d 65 6e |pter..De|velopmen|
|00004a80| 74 20 45 6e 76 69 72 6f | 6e 6d 65 6e 74 0d 54 68 |t Enviro|nment.Th|
|00004a90| 65 20 73 79 73 74 65 6d | 20 73 6f 66 74 77 61 72 |e system| softwar|
|00004aa0| 65 20 72 6f 75 74 69 6e | 65 73 20 64 65 73 63 72 |e routin|es descr|
|00004ab0| 69 62 65 64 20 69 6e 20 | 74 68 69 73 20 62 6f 6f |ibed in |this boo|
|00004ac0| 6b 20 61 72 65 20 61 76 | 61 69 6c 61 62 6c 65 20 |k are av|ailable |
|00004ad0| 75 73 69 6e 67 20 50 61 | 73 63 61 6c 2c 20 43 2c |using Pa|scal, C,|
|00004ae0| 20 6f 72 20 61 73 73 65 | 6d 62 6c 79 2d 6c 61 6e | or asse|mbly-lan|
|00004af0| 67 75 61 67 65 20 69 6e | 74 65 72 66 61 63 65 73 |guage in|terfaces|
|00004b00| 2e 20 48 6f 77 20 79 6f | 75 20 61 63 63 65 73 73 |. How yo|u access|
|00004b10| 20 74 68 65 73 65 20 72 | 6f 75 74 69 6e 65 73 20 | these r|outines |
|00004b20| 64 65 70 65 6e 64 73 20 | 6f 6e 20 74 68 65 20 64 |depends |on the d|
|00004b30| 65 76 65 6c 6f 70 6d 65 | 6e 74 20 65 6e 76 69 72 |evelopme|nt envir|
|00004b40| 6f 6e 6d 65 6e 74 20 79 | 6f 75 20 61 72 65 20 75 |onment y|ou are u|
|00004b50| 73 69 6e 67 2e 20 54 68 | 69 73 20 62 6f 6f 6b 20 |sing. Th|is book |
|00004b60| 73 68 6f 77 73 20 73 79 | 73 74 65 6d 20 73 6f 66 |shows sy|stem sof|
|00004b70| 74 77 61 72 65 20 72 6f | 75 74 69 6e 65 73 20 69 |tware ro|utines i|
|00004b80| 6e 20 74 68 65 69 72 20 | 50 61 73 63 61 6c 20 69 |n their |Pascal i|
|00004b90| 6e 74 65 72 66 61 63 65 | 20 75 73 69 6e 67 20 74 |nterface| using t|
|00004ba0| 68 65 20 4d 61 63 69 6e | 74 6f 73 68 20 50 72 6f |he Macin|tosh Pro|
|00004bb0| 67 72 61 6d 6d 65 72 d5 | 73 20 57 6f 72 6b 73 68 |grammer.|s Worksh|
|00004bc0| 6f 70 20 28 4d 50 57 29 | 2e 20 0d 41 6c 6c 20 63 |op (MPW)|. .All c|
|00004bd0| 6f 64 65 20 6c 69 73 74 | 69 6e 67 73 20 69 6e 20 |ode list|ings in |
|00004be0| 74 68 69 73 20 62 6f 6f | 6b 20 61 72 65 20 73 68 |this boo|k are sh|
|00004bf0| 6f 77 6e 20 69 6e 20 50 | 61 73 63 61 6c 2e 20 54 |own in P|ascal. T|
|00004c00| 68 65 79 20 73 68 6f 77 | 20 6d 65 74 68 6f 64 73 |hey show| methods|
|00004c10| 20 6f 66 20 75 73 69 6e | 67 20 76 61 72 69 6f 75 | of usin|g variou|
|00004c20| 73 20 72 6f 75 74 69 6e | 65 73 20 61 6e 64 20 69 |s routin|es and i|
|00004c30| 6c 6c 75 73 74 72 61 74 | 65 20 74 65 63 68 6e 69 |llustrat|e techni|
|00004c40| 71 75 65 73 20 66 6f 72 | 20 61 63 63 6f 6d 70 6c |ques for| accompl|
|00004c50| 69 73 68 69 6e 67 20 70 | 61 72 74 69 63 75 6c 61 |ishing p|articula|
|00004c60| 72 20 74 61 73 6b 73 2e | 20 41 6c 6c 20 63 6f 64 |r tasks.| All cod|
|00004c70| 65 20 6c 69 73 74 69 6e | 67 73 20 68 61 76 65 20 |e listin|gs have |
|00004c80| 62 65 65 6e 20 63 6f 6d | 70 69 6c 65 64 20 61 6e |been com|piled an|
|00004c90| 64 2c 20 69 6e 20 6d 6f | 73 74 20 63 61 73 65 73 |d, in mo|st cases|
|00004ca0| 2c 20 74 65 73 74 65 64 | 2e 20 48 6f 77 65 76 65 |, tested|. Howeve|
|00004cb0| 72 2c 20 41 70 70 6c 65 | 20 43 6f 6d 70 75 74 65 |r, Apple| Compute|
|00004cc0| 72 20 64 6f 65 73 20 6e | 6f 74 20 69 6e 74 65 6e |r does n|ot inten|
|00004cd0| 64 20 74 68 61 74 20 79 | 6f 75 20 75 73 65 20 74 |d that y|ou use t|
|00004ce0| 68 65 73 65 20 63 6f 64 | 65 20 73 61 6d 70 6c 65 |hese cod|e sample|
|00004cf0| 73 20 69 6e 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |s in you|r applic|
|00004d00| 61 74 69 6f 6e 2e 0d 41 | 50 44 41 2c 20 41 70 70 |ation..A|PDA, App|
|00004d10| 6c 65 d5 73 20 73 6f 75 | 72 63 65 20 66 6f 72 20 |le.s sou|rce for |
|00004d20| 64 65 76 65 6c 6f 70 65 | 72 20 74 6f 6f 6c 73 2c |develope|r tools,|
|00004d30| 20 6f 66 66 65 72 73 20 | 77 6f 72 6c 64 77 69 64 | offers |worldwid|
|00004d40| 65 20 61 63 63 65 73 73 | 20 74 6f 20 61 20 62 72 |e access| to a br|
|00004d50| 6f 61 64 20 72 61 6e 67 | 65 20 6f 66 20 70 72 6f |oad rang|e of pro|
|00004d60| 67 72 61 6d 6d 69 6e 67 | 20 70 72 6f 64 75 63 74 |gramming| product|
|00004d70| 73 2c 20 72 65 73 6f 75 | 72 63 65 73 2c 20 61 6e |s, resou|rces, an|
|00004d80| 64 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 66 6f |d inform|ation fo|
|00004d90| 72 20 61 6e 79 6f 6e 65 | 20 64 65 76 65 6c 6f 70 |r anyone| develop|
|00004da0| 69 6e 67 20 6f 6e 20 41 | 70 70 6c 65 20 70 6c 61 |ing on A|pple pla|
|00004db0| 74 66 6f 72 6d 73 2e 20 | 59 6f 75 d5 6c 6c 20 66 |tforms. |You.ll f|
|00004dc0| 69 6e 64 20 74 68 65 20 | 6d 6f 73 74 20 63 75 72 |ind the |most cur|
|00004dd0| 72 65 6e 74 20 76 65 72 | 73 69 6f 6e 73 20 6f 66 |rent ver|sions of|
|00004de0| 20 41 70 70 6c 65 20 61 | 6e 64 20 74 68 69 72 64 | Apple a|nd third|
|00004df0| 2d 70 61 72 74 79 20 64 | 65 76 65 6c 6f 70 6d 65 |-party d|evelopme|
|00004e00| 6e 74 20 74 6f 6f 6c 73 | 2c 20 64 65 62 75 67 67 |nt tools|, debugg|
|00004e10| 65 72 73 2c 20 63 6f 6d | 70 69 6c 65 72 73 2c 20 |ers, com|pilers, |
|00004e20| 6c 61 6e 67 75 61 67 65 | 73 2c 20 61 6e 64 20 74 |language|s, and t|
|00004e30| 65 63 68 6e 69 63 61 6c | 20 72 65 66 65 72 65 6e |echnical| referen|
|00004e40| 63 65 73 20 66 6f 72 20 | 61 6c 6c 20 41 70 70 6c |ces for |all Appl|
|00004e50| 65 20 70 6c 61 74 66 6f | 72 6d 73 2e 20 54 6f 20 |e platfo|rms. To |
|00004e60| 65 73 74 61 62 6c 69 73 | 68 20 61 6e 20 41 50 44 |establis|h an APD|
|00004e70| 41 20 61 63 63 6f 75 6e | 74 2c 20 6f 62 74 61 69 |A accoun|t, obtai|
|00004e80| 6e 20 61 64 64 69 74 69 | 6f 6e 61 6c 20 6f 72 64 |n additi|onal ord|
|00004e90| 65 72 69 6e 67 20 69 6e | 66 6f 72 6d 61 74 69 6f |ering in|formatio|
|00004ea0| 6e 2c 20 6f 72 20 66 69 | 6e 64 20 6f 75 74 20 61 |n, or fi|nd out a|
|00004eb0| 62 6f 75 74 20 73 69 74 | 65 20 6c 69 63 65 6e 73 |bout sit|e licens|
|00004ec0| 69 6e 67 20 61 6e 64 20 | 64 65 76 65 6c 6f 70 65 |ing and |develope|
|00004ed0| 72 20 74 72 61 69 6e 69 | 6e 67 20 70 72 6f 67 72 |r traini|ng progr|
|00004ee0| 61 6d 73 2c 20 63 6f 6e | 74 61 63 74 0d 41 50 44 |ams, con|tact.APD|
|00004ef0| 41 0d 41 70 70 6c 65 20 | 43 6f 6d 70 75 74 65 72 |A.Apple |Computer|
|00004f00| 2c 20 49 6e 63 2e 0d 32 | 30 35 32 35 20 4d 61 72 |, Inc..2|0525 Mar|
|00004f10| 69 61 6e 69 20 41 76 65 | 6e 75 65 2c 20 4d 2f 53 |iani Ave|nue, M/S|
|00004f20| 20 33 33 2d 47 0d 43 75 | 70 65 72 74 69 6e 6f 2c | 33-G.Cu|pertino,|
|00004f30| 20 43 41 20 39 35 30 31 | 34 2d 36 32 39 39 54 65 | CA 9501|4-6299Te|
|00004f40| 6c 65 70 68 6f 6e 65 3a | 09 38 30 30 2d 32 38 32 |lephone:|.800-282|
|00004f50| 2d 32 37 33 32 20 28 55 | 6e 69 74 65 64 20 53 74 |-2732 (U|nited St|
|00004f60| 61 74 65 73 29 0d 38 30 | 30 2d 36 33 37 2d 30 30 |ates).80|0-637-00|
|00004f70| 32 39 20 28 43 61 6e 61 | 64 61 29 0d 38 30 30 2d |29 (Cana|da).800-|
|00004f80| 35 36 32 2d 33 39 31 30 | 20 28 65 6c 73 65 77 68 |562-3910| (elsewh|
|00004f90| 65 72 65 20 69 6e 20 74 | 68 65 20 77 6f 72 6c 64 |ere in t|he world|
|00004fa0| 29 09 0d 46 61 78 3a 09 | 34 30 38 2d 35 36 32 2d |)..Fax:.|408-562-|
|00004fb0| 33 39 37 31 09 0d 54 65 | 6c 65 78 3a 09 31 37 31 |3971..Te|lex:.171|
|00004fc0| 2d 35 37 36 09 0d 0d 49 | 66 20 79 6f 75 20 70 72 |-576...I|f you pr|
|00004fd0| 6f 76 69 64 65 20 63 6f | 6d 6d 65 72 63 69 61 6c |ovide co|mmercial|
|00004fe0| 20 70 72 6f 64 75 63 74 | 73 20 61 6e 64 20 73 65 | product|s and se|
|00004ff0| 72 76 69 63 65 73 2c 20 | 63 61 6c 6c 20 34 30 38 |rvices, |call 408|
|00005000| 2d 39 37 34 2d 34 38 39 | 37 20 66 6f 72 20 69 6e |-974-489|7 for in|
|00005010| 66 6f 72 6d 61 74 69 6f | 6e 20 6f 6e 20 74 68 65 |formatio|n on the|
|00005020| 20 64 65 76 65 6c 6f 70 | 65 72 20 73 75 70 70 6f | develop|er suppo|
|00005030| 72 74 20 70 72 6f 67 72 | 61 6d 73 20 61 76 61 69 |rt progr|ams avai|
|00005040| 6c 61 62 6c 65 20 66 72 | 6f 6d 20 41 70 70 6c 65 |lable fr|om Apple|
|00005050| 2e 0d 46 6f 72 20 69 6e | 66 6f 72 6d 61 74 69 6f |..For in|formatio|
|00005060| 6e 20 6f 6e 20 72 65 67 | 69 73 74 65 72 69 6e 67 |n on reg|istering|
|00005070| 20 73 69 67 6e 61 74 75 | 72 65 73 2c 20 66 69 6c | signatu|res, fil|
|00005080| 65 20 74 79 70 65 73 2c | 20 41 70 70 6c 65 20 65 |e types,| Apple e|
|00005090| 76 65 6e 74 73 2c 20 61 | 6e 64 20 6f 74 68 65 72 |vents, a|nd other|
|000050a0| 20 74 65 63 68 6e 69 63 | 61 6c 20 69 6e 66 6f 72 | technic|al infor|
|000050b0| 6d 61 74 69 6f 6e 2c 20 | 63 6f 6e 74 61 63 74 0d |mation, |contact.|
|000050c0| 4d 61 63 69 6e 74 6f 73 | 68 20 44 65 76 65 6c 6f |Macintos|h Develo|
|000050d0| 70 65 72 20 54 65 63 68 | 6e 69 63 61 6c 20 53 75 |per Tech|nical Su|
|000050e0| 70 70 6f 72 74 0d 41 70 | 70 6c 65 20 43 6f 6d 70 |pport.Ap|ple Comp|
|000050f0| 75 74 65 72 2c 20 49 6e | 63 2e 0d 32 30 35 32 35 |uter, In|c..20525|
|00005100| 20 4d 61 72 69 61 6e 69 | 20 41 76 65 6e 75 65 2c | Mariani| Avenue,|
|00005110| 20 4d 2f 53 20 37 35 2d | 33 54 0d 43 75 70 65 72 | M/S 75-|3T.Cuper|
|00005120| 74 69 6e 6f 2c 20 43 41 | 20 39 35 30 31 34 2d 36 |tino, CA| 95014-6|
|00005130| 32 39 39 0d 4c 69 73 74 | 69 6e 67 20 31 2d 30 0d |299.List|ing 1-0.|
|00005140| 54 61 62 6c 65 20 31 2d | 30 0d 49 6e 74 72 6f 64 |Table 1-|0.Introd|
|00005150| 75 63 74 69 6f 6e 20 74 | 6f 20 4d 65 6d 6f 72 79 |uction t|o Memory|
|00005160| 20 4d 61 6e 61 67 65 6d | 65 6e 74 0d 43 6f 6e 74 | Managem|ent.Cont|
|00005170| 65 6e 74 73 0d 41 62 6f | 75 74 20 4d 65 6d 6f 72 |ents.Abo|ut Memor|
|00005180| 79 14 14 31 2d 34 0d 4f | 72 67 61 6e 69 7a 61 74 |y..1-4.O|rganizat|
|00005190| 69 6f 6e 20 6f 66 20 4d | 65 6d 6f 72 79 20 62 79 |ion of M|emory by|
|000051a0| 20 74 68 65 20 4f 70 65 | 72 61 74 69 6e 67 20 53 | the Ope|rating S|
|000051b0| 79 73 74 65 6d 14 14 31 | 2d 34 0d 54 68 65 20 53 |ystem..1|-4.The S|
|000051c0| 79 73 74 65 6d 20 48 65 | 61 70 14 14 31 2d 36 0d |ystem He|ap..1-6.|
|000051d0| 54 68 65 20 53 79 73 74 | 65 6d 20 47 6c 6f 62 61 |The Syst|em Globa|
|000051e0| 6c 20 56 61 72 69 61 62 | 6c 65 73 14 14 31 2d 36 |l Variab|les..1-6|
|000051f0| 0d 4f 72 67 61 6e 69 7a | 61 74 69 6f 6e 20 6f 66 |.Organiz|ation of|
|00005200| 20 4d 65 6d 6f 72 79 20 | 69 6e 20 61 6e 20 41 70 | Memory |in an Ap|
|00005210| 70 6c 69 63 61 74 69 6f | 6e 20 50 61 72 74 69 74 |plicatio|n Partit|
|00005220| 69 6f 6e 14 14 31 2d 37 | 0d 54 68 65 20 41 70 70 |ion..1-7|.The App|
|00005230| 6c 69 63 61 74 69 6f 6e | 20 53 74 61 63 6b 14 14 |lication| Stack..|
|00005240| 31 2d 38 0d 54 68 65 20 | 41 70 70 6c 69 63 61 74 |1-8.The |Applicat|
|00005250| 69 6f 6e 20 48 65 61 70 | 14 14 31 2d 39 0d 54 68 |ion Heap|..1-9.Th|
|00005260| 65 20 41 70 70 6c 69 63 | 61 74 69 6f 6e 20 47 6c |e Applic|ation Gl|
|00005270| 6f 62 61 6c 20 56 61 72 | 69 61 62 6c 65 73 20 61 |obal Var|iables a|
|00005280| 6e 64 20 41 35 20 57 6f | 72 6c 64 14 14 31 2d 31 |nd A5 Wo|rld..1-1|
|00005290| 32 0d 54 65 6d 70 6f 72 | 61 72 79 20 4d 65 6d 6f |2.Tempor|ary Memo|
|000052a0| 72 79 14 14 31 2d 31 33 | 0d 56 69 72 74 75 61 6c |ry..1-13|.Virtual|
|000052b0| 20 4d 65 6d 6f 72 79 14 | 14 31 2d 31 35 0d 41 64 | Memory.|.1-15.Ad|
|000052c0| 64 72 65 73 73 69 6e 67 | 20 4d 6f 64 65 73 14 14 |dressing| Modes..|
|000052d0| 31 2d 31 35 0d 48 65 61 | 70 20 4d 61 6e 61 67 65 |1-15.Hea|p Manage|
|000052e0| 6d 65 6e 74 14 14 31 2d | 31 36 0d 52 65 6c 6f 63 |ment..1-|16.Reloc|
|000052f0| 61 74 61 62 6c 65 20 61 | 6e 64 20 4e 6f 6e 72 65 |atable a|nd Nonre|
|00005300| 6c 6f 63 61 74 61 62 6c | 65 20 42 6c 6f 63 6b 73 |locatabl|e Blocks|
|00005310| 14 14 31 2d 31 36 0d 50 | 72 6f 70 65 72 74 69 65 |..1-16.P|ropertie|
|00005320| 73 20 6f 66 20 52 65 6c | 6f 63 61 74 61 62 6c 65 |s of Rel|ocatable|
|00005330| 20 42 6c 6f 63 6b 73 14 | 14 31 2d 32 30 0d 4c 6f | Blocks.|.1-20.Lo|
|00005340| 63 6b 69 6e 67 20 61 6e | 64 20 55 6e 6c 6f 63 6b |cking an|d Unlock|
|00005350| 69 6e 67 20 52 65 6c 6f | 63 61 74 61 62 6c 65 20 |ing Relo|catable |
|00005360| 42 6c 6f 63 6b 73 14 14 | 31 2d 32 30 0d 50 75 72 |Blocks..|1-20.Pur|
|00005370| 67 69 6e 67 20 61 6e 64 | 20 52 65 61 6c 6c 6f 63 |ging and| Realloc|
|00005380| 61 74 69 6e 67 20 52 65 | 6c 6f 63 61 74 61 62 6c |ating Re|locatabl|
|00005390| 65 20 42 6c 6f 63 6b 73 | 14 14 31 2d 32 31 0d 4d |e Blocks|..1-21.M|
|000053a0| 65 6d 6f 72 79 20 52 65 | 73 65 72 76 61 74 69 6f |emory Re|servatio|
|000053b0| 6e 14 14 31 2d 32 32 0d | 48 65 61 70 20 50 75 72 |n..1-22.|Heap Pur|
|000053c0| 67 69 6e 67 20 61 6e 64 | 20 43 6f 6d 70 61 63 74 |ging and| Compact|
|000053d0| 69 6f 6e 14 14 31 2d 32 | 33 0d 48 65 61 70 20 46 |ion..1-2|3.Heap F|
|000053e0| 72 61 67 6d 65 6e 74 61 | 74 69 6f 6e 14 14 31 2d |ragmenta|tion..1-|
|000053f0| 32 34 0d 44 65 61 6c 6c | 6f 63 61 74 69 6e 67 20 |24.Deall|ocating |
|00005400| 4e 6f 6e 72 65 6c 6f 63 | 61 74 61 62 6c 65 20 42 |Nonreloc|atable B|
|00005410| 6c 6f 63 6b 73 14 14 31 | 2d 32 35 0d 52 65 73 65 |locks..1|-25.Rese|
|00005420| 72 76 69 6e 67 20 4d 65 | 6d 6f 72 79 14 14 31 2d |rving Me|mory..1-|
|00005430| 32 35 0d 4c 6f 63 6b 69 | 6e 67 20 52 65 6c 6f 63 |25.Locki|ng Reloc|
|00005440| 61 74 61 62 6c 65 20 42 | 6c 6f 63 6b 73 14 14 31 |atable B|locks..1|
|00005450| 2d 32 36 0d 41 6c 6c 6f | 63 61 74 69 6e 67 20 4e |-26.Allo|cating N|
|00005460| 6f 6e 72 65 6c 6f 63 61 | 74 61 62 6c 65 20 42 6c |onreloca|table Bl|
|00005470| 6f 63 6b 73 14 14 31 2d | 32 37 0d 53 75 6d 6d 61 |ocks..1-|27.Summa|
|00005480| 72 79 20 6f 66 20 50 72 | 65 76 65 6e 74 69 6e 67 |ry of Pr|eventing|
|00005490| 20 46 72 61 67 6d 65 6e | 74 61 74 69 6f 6e 14 14 | Fragmen|tation..|
|000054a0| 31 2d 32 38 0d 44 61 6e | 67 6c 69 6e 67 20 50 6f |1-28.Dan|gling Po|
|000054b0| 69 6e 74 65 72 73 14 14 | 31 2d 32 39 0d 43 6f 6d |inters..|1-29.Com|
|000054c0| 70 69 6c 65 72 20 44 65 | 72 65 66 65 72 65 6e 63 |piler De|referenc|
|000054d0| 69 6e 67 14 14 31 2d 32 | 39 0d 4c 6f 61 64 69 6e |ing..1-2|9.Loadin|
|000054e0| 67 20 43 6f 64 65 20 53 | 65 67 6d 65 6e 74 73 14 |g Code S|egments.|
|000054f0| 14 31 2d 33 31 0d 43 61 | 6c 6c 62 61 63 6b 20 52 |.1-31.Ca|llback R|
|00005500| 6f 75 74 69 6e 65 73 14 | 14 31 2d 33 32 0d 49 6e |outines.|.1-32.In|
|00005510| 76 61 6c 69 64 20 48 61 | 6e 64 6c 65 73 14 14 31 |valid Ha|ndles..1|
|00005520| 2d 33 33 0d 44 69 73 70 | 6f 73 65 64 20 48 61 6e |-33.Disp|osed Han|
|00005530| 64 6c 65 73 14 14 31 2d | 33 33 0d 45 6d 70 74 79 |dles..1-|33.Empty|
|00005540| 20 48 61 6e 64 6c 65 73 | 14 14 31 2d 33 34 0d 46 | Handles|..1-34.F|
|00005550| 61 6b 65 20 48 61 6e 64 | 6c 65 73 14 14 31 2d 33 |ake Hand|les..1-3|
|00005560| 35 0d 4c 6f 77 2d 4d 65 | 6d 6f 72 79 20 43 6f 6e |5.Low-Me|mory Con|
|00005570| 64 69 74 69 6f 6e 73 14 | 14 31 2d 33 36 0d 4d 65 |ditions.|.1-36.Me|
|00005580| 6d 6f 72 79 20 43 75 73 | 68 69 6f 6e 73 14 14 31 |mory Cus|hions..1|
|00005590| 2d 33 36 0d 4d 65 6d 6f | 72 79 20 52 65 73 65 72 |-36.Memo|ry Reser|
|000055a0| 76 65 73 14 14 31 2d 33 | 37 0d 47 72 6f 77 2d 5a |ves..1-3|7.Grow-Z|
|000055b0| 6f 6e 65 20 46 75 6e 63 | 74 69 6f 6e 73 14 14 31 |one Func|tions..1|
|000055c0| 2d 33 38 0d 55 73 69 6e | 67 20 4d 65 6d 6f 72 79 |-38.Usin|g Memory|
|000055d0| 14 14 31 2d 33 38 0d 53 | 65 74 74 69 6e 67 20 55 |..1-38.S|etting U|
|000055e0| 70 20 74 68 65 20 41 70 | 70 6c 69 63 61 74 69 6f |p the Ap|plicatio|
|000055f0| 6e 20 48 65 61 70 14 14 | 31 2d 33 38 0d 43 68 61 |n Heap..|1-38.Cha|
|00005600| 6e 67 69 6e 67 20 74 68 | 65 20 53 69 7a 65 20 6f |nging th|e Size o|
|00005610| 66 20 74 68 65 20 53 74 | 61 63 6b 14 14 31 2d 33 |f the St|ack..1-3|
|00005620| 39 0d 45 78 70 61 6e 64 | 69 6e 67 20 74 68 65 20 |9.Expand|ing the |
|00005630| 48 65 61 70 14 14 31 2d | 34 30 0d 41 6c 6c 6f 63 |Heap..1-|40.Alloc|
|00005640| 61 74 69 6e 67 20 4d 61 | 73 74 65 72 20 50 6f 69 |ating Ma|ster Poi|
|00005650| 6e 74 65 72 20 42 6c 6f | 63 6b 73 14 14 31 2d 34 |nter Blo|cks..1-4|
|00005660| 31 0d 44 65 74 65 72 6d | 69 6e 69 6e 67 20 74 68 |1.Determ|ining th|
|00005670| 65 20 41 6d 6f 75 6e 74 | 20 6f 66 20 46 72 65 65 |e Amount| of Free|
|00005680| 20 4d 65 6d 6f 72 79 14 | 14 31 2d 34 32 0d 41 6c | Memory.|.1-42.Al|
|00005690| 6c 6f 63 61 74 69 6e 67 | 20 42 6c 6f 63 6b 73 20 |locating| Blocks |
|000056a0| 6f 66 20 4d 65 6d 6f 72 | 79 14 14 31 2d 34 34 0d |of Memor|y..1-44.|
|000056b0| 4d 61 69 6e 74 61 69 6e | 69 6e 67 20 61 20 4d 65 |Maintain|ing a Me|
|000056c0| 6d 6f 72 79 20 52 65 73 | 65 72 76 65 14 14 31 2d |mory Res|erve..1-|
|000056d0| 34 36 0d 44 65 66 69 6e | 69 6e 67 20 61 20 47 72 |46.Defin|ing a Gr|
|000056e0| 6f 77 2d 5a 6f 6e 65 20 | 46 75 6e 63 74 69 6f 6e |ow-Zone |Function|
|000056f0| 14 14 31 2d 34 38 0d 4d | 65 6d 6f 72 79 20 4d 61 |..1-48.M|emory Ma|
|00005700| 6e 61 67 65 6d 65 6e 74 | 20 52 65 66 65 72 65 6e |nagement| Referen|
|00005710| 63 65 14 14 31 2d 35 30 | 0d 4d 65 6d 6f 72 79 20 |ce..1-50|.Memory |
|00005720| 4d 61 6e 61 67 65 6d 65 | 6e 74 20 52 6f 75 74 69 |Manageme|nt Routi|
|00005730| 6e 65 73 14 14 31 2d 35 | 30 0d 53 65 74 74 69 6e |nes..1-5|0.Settin|
|00005740| 67 20 55 70 20 74 68 65 | 20 41 70 70 6c 69 63 61 |g Up the| Applica|
|00005750| 74 69 6f 6e 20 48 65 61 | 70 14 14 31 2d 35 30 0d |tion Hea|p..1-50.|
|00005760| 41 6c 6c 6f 63 61 74 69 | 6e 67 20 61 6e 64 20 52 |Allocati|ng and R|
|00005770| 65 6c 65 61 73 69 6e 67 | 20 52 65 6c 6f 63 61 74 |eleasing| Relocat|
|00005780| 61 62 6c 65 20 42 6c 6f | 63 6b 73 20 6f 66 20 4d |able Blo|cks of M|
|00005790| 65 6d 6f 72 79 14 14 31 | 2d 35 34 0d 41 6c 6c 6f |emory..1|-54.Allo|
|000057a0| 63 61 74 69 6e 67 20 61 | 6e 64 20 52 65 6c 65 61 |cating a|nd Relea|
|000057b0| 73 69 6e 67 20 4e 6f 6e | 72 65 6c 6f 63 61 74 61 |sing Non|relocata|
|000057c0| 62 6c 65 20 42 6c 6f 63 | 6b 73 20 6f 66 20 4d 65 |ble Bloc|ks of Me|
|000057d0| 6d 6f 72 79 14 14 31 2d | 35 38 0d 53 65 74 74 69 |mory..1-|58.Setti|
|000057e0| 6e 67 20 74 68 65 20 50 | 72 6f 70 65 72 74 69 65 |ng the P|ropertie|
|000057f0| 73 20 6f 66 20 52 65 6c | 6f 63 61 74 61 62 6c 65 |s of Rel|ocatable|
|00005800| 20 42 6c 6f 63 6b 73 14 | 14 31 2d 36 30 0d 4d 61 | Blocks.|.1-60.Ma|
|00005810| 6e 61 67 69 6e 67 20 52 | 65 6c 6f 63 61 74 61 62 |naging R|elocatab|
|00005820| 6c 65 20 42 6c 6f 63 6b | 73 14 14 31 2d 36 37 0d |le Block|s..1-67.|
|00005830| 4d 61 6e 69 70 75 6c 61 | 74 69 6e 67 20 42 6c 6f |Manipula|ting Blo|
|00005840| 63 6b 73 20 6f 66 20 4d | 65 6d 6f 72 79 14 14 31 |cks of M|emory..1|
|00005850| 2d 37 33 0d 41 73 73 65 | 73 73 69 6e 67 20 4d 65 |-73.Asse|ssing Me|
|00005860| 6d 6f 72 79 20 43 6f 6e | 64 69 74 69 6f 6e 73 14 |mory Con|ditions.|
|00005870| 14 31 2d 37 35 0d 47 72 | 6f 77 2d 5a 6f 6e 65 20 |.1-75.Gr|ow-Zone |
|00005880| 4f 70 65 72 61 74 69 6f | 6e 73 14 14 31 2d 37 37 |Operatio|ns..1-77|
|00005890| 0d 53 65 74 74 69 6e 67 | 20 61 6e 64 20 52 65 73 |.Setting| and Res|
|000058a0| 74 6f 72 69 6e 67 20 74 | 68 65 20 41 35 20 52 65 |toring t|he A5 Re|
|000058b0| 67 69 73 74 65 72 14 14 | 31 2d 37 38 0d 41 70 70 |gister..|1-78.App|
|000058c0| 6c 69 63 61 74 69 6f 6e | 2d 44 65 66 69 6e 65 64 |lication|-Defined|
|000058d0| 20 52 6f 75 74 69 6e 65 | 73 14 14 31 2d 38 30 0d | Routine|s..1-80.|
|000058e0| 47 72 6f 77 2d 5a 6f 6e | 65 20 46 75 6e 63 74 69 |Grow-Zon|e Functi|
|000058f0| 6f 6e 73 14 14 31 2d 38 | 30 0d 53 75 6d 6d 61 72 |ons..1-8|0.Summar|
|00005900| 79 20 6f 66 20 4d 65 6d | 6f 72 79 20 4d 61 6e 61 |y of Mem|ory Mana|
|00005910| 67 65 6d 65 6e 74 14 14 | 31 2d 38 32 0d 50 61 73 |gement..|1-82.Pas|
|00005920| 63 61 6c 20 53 75 6d 6d | 61 72 79 14 14 31 2d 38 |cal Summ|ary..1-8|
|00005930| 32 0d 44 61 74 61 20 54 | 79 70 65 73 14 14 31 2d |2.Data T|ypes..1-|
|00005940| 38 32 0d 4d 65 6d 6f 72 | 79 20 4d 61 6e 61 67 65 |82.Memor|y Manage|
|00005950| 6d 65 6e 74 20 52 6f 75 | 74 69 6e 65 73 14 14 31 |ment Rou|tines..1|
|00005960| 2d 38 32 0d 41 70 70 6c | 69 63 61 74 69 6f 6e 2d |-82.Appl|ication-|
|00005970| 44 65 66 69 6e 65 64 20 | 52 6f 75 74 69 6e 65 73 |Defined |Routines|
|00005980| 14 14 31 2d 38 33 0d 43 | 20 53 75 6d 6d 61 72 79 |..1-83.C| Summary|
|00005990| 14 14 31 2d 38 34 0d 44 | 61 74 61 20 54 79 70 65 |..1-84.D|ata Type|
|000059a0| 73 14 14 31 2d 38 34 0d | 4d 65 6d 6f 72 79 20 4d |s..1-84.|Memory M|
|000059b0| 61 6e 61 67 65 6d 65 6e | 74 20 52 6f 75 74 69 6e |anagemen|t Routin|
|000059c0| 65 73 14 14 31 2d 38 34 | 0d 41 70 70 6c 69 63 61 |es..1-84|.Applica|
|000059d0| 74 69 6f 6e 2d 44 65 66 | 69 6e 65 64 20 52 6f 75 |tion-Def|ined Rou|
|000059e0| 74 69 6e 65 73 14 14 31 | 2d 38 35 0d 41 73 73 65 |tines..1|-85.Asse|
|000059f0| 6d 62 6c 79 2d 4c 61 6e | 67 75 61 67 65 20 53 75 |mbly-Lan|guage Su|
|00005a00| 6d 6d 61 72 79 14 14 31 | 2d 38 36 0d 47 6c 6f 62 |mmary..1|-86.Glob|
|00005a10| 61 6c 20 56 61 72 69 61 | 62 6c 65 73 14 14 31 2d |al Varia|bles..1-|
|00005a20| 38 36 0d 52 65 73 75 6c | 74 20 43 6f 64 65 73 14 |86.Resul|t Codes.|
|00005a30| 14 31 2d 38 36 0d 49 6e | 74 72 6f 64 75 63 74 69 |.1-86.In|troducti|
|00005a40| 6f 6e 20 74 6f 20 4d 65 | 6d 6f 72 79 20 4d 61 6e |on to Me|mory Man|
|00005a50| 61 67 65 6d 65 6e 74 0d | 54 68 69 73 20 63 68 61 |agement.|This cha|
|00005a60| 70 74 65 72 20 69 73 20 | 61 20 67 65 6e 65 72 61 |pter is |a genera|
|00005a70| 6c 20 69 6e 74 72 6f 64 | 75 63 74 69 6f 6e 20 74 |l introd|uction t|
|00005a80| 6f 20 6d 65 6d 6f 72 79 | 20 6d 61 6e 61 67 65 6d |o memory| managem|
|00005a90| 65 6e 74 20 6f 6e 20 4d | 61 63 69 6e 74 6f 73 68 |ent on M|acintosh|
|00005aa0| 20 63 6f 6d 70 75 74 65 | 72 73 2e 20 49 74 20 64 | compute|rs. It d|
|00005ab0| 65 73 63 72 69 62 65 73 | 20 68 6f 77 20 74 68 65 |escribes| how the|
|00005ac0| 20 4f 70 65 72 61 74 69 | 6e 67 20 53 79 73 74 65 | Operati|ng Syste|
|00005ad0| 6d 20 6f 72 67 61 6e 69 | 7a 65 73 20 61 6e 64 20 |m organi|zes and |
|00005ae0| 6d 61 6e 61 67 65 73 20 | 74 68 65 20 61 76 61 69 |manages |the avai|
|00005af0| 6c 61 62 6c 65 20 6d 65 | 6d 6f 72 79 2c 20 61 6e |lable me|mory, an|
|00005b00| 64 20 69 74 20 73 68 6f | 77 73 20 68 6f 77 20 79 |d it sho|ws how y|
|00005b10| 6f 75 20 63 61 6e 20 75 | 73 65 20 74 68 65 20 73 |ou can u|se the s|
|00005b20| 65 72 76 69 63 65 73 20 | 70 72 6f 76 69 64 65 64 |ervices |provided|
|00005b30| 20 62 79 20 74 68 65 20 | 4d 65 6d 6f 72 79 20 4d | by the |Memory M|
|00005b40| 61 6e 61 67 65 72 20 61 | 6e 64 20 6f 74 68 65 72 |anager a|nd other|
|00005b50| 20 73 79 73 74 65 6d 20 | 73 6f 66 74 77 61 72 65 | system |software|
|00005b60| 20 63 6f 6d 70 6f 6e 65 | 6e 74 73 20 74 6f 20 6d | compone|nts to m|
|00005b70| 61 6e 61 67 65 20 74 68 | 65 20 6d 65 6d 6f 72 79 |anage th|e memory|
|00005b80| 20 69 6e 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 | in your| applica|
|00005b90| 74 69 6f 6e 20 70 61 72 | 74 69 74 69 6f 6e 20 65 |tion par|tition e|
|00005ba0| 66 66 65 63 74 69 76 65 | 6c 79 2e 0d 59 6f 75 20 |ffective|ly..You |
|00005bb0| 73 68 6f 75 6c 64 20 72 | 65 61 64 20 74 68 69 73 |should r|ead this|
|00005bc0| 20 63 68 61 70 74 65 72 | 20 69 66 20 79 6f 75 72 | chapter| if your|
|00005bd0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 6f 72 20 | applica|tion or |
|00005be0| 6f 74 68 65 72 20 73 6f | 66 74 77 61 72 65 20 61 |other so|ftware a|
|00005bf0| 6c 6c 6f 63 61 74 65 73 | 20 6d 65 6d 6f 72 79 20 |llocates| memory |
|00005c00| 64 79 6e 61 6d 69 63 61 | 6c 6c 79 20 64 75 72 69 |dynamica|lly duri|
|00005c10| 6e 67 20 69 74 73 20 65 | 78 65 63 75 74 69 6f 6e |ng its e|xecution|
|00005c20| 2e 20 54 68 69 73 20 63 | 68 61 70 74 65 72 20 64 |. This c|hapter d|
|00005c30| 65 73 63 72 69 62 65 73 | 20 68 6f 77 20 74 6f 0d |escribes| how to.|
|00005c40| 6e 09 73 65 74 20 75 70 | 20 79 6f 75 72 20 61 70 |n.set up| your ap|
|00005c50| 70 6c 69 63 61 74 69 6f | 6e 20 70 61 72 74 69 74 |plicatio|n partit|
|00005c60| 69 6f 6e 20 61 74 20 6c | 61 75 6e 63 68 20 74 69 |ion at l|aunch ti|
|00005c70| 6d 65 0d 6e 09 64 65 74 | 65 72 6d 69 6e 65 20 74 |me.n.det|ermine t|
|00005c80| 68 65 20 61 6d 6f 75 6e | 74 20 6f 66 20 66 72 65 |he amoun|t of fre|
|00005c90| 65 20 6d 65 6d 6f 72 79 | 20 69 6e 20 79 6f 75 72 |e memory| in your|
|00005ca0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 68 65 61 | applica|tion hea|
|00005cb0| 70 0d 6e 09 61 6c 6c 6f | 63 61 74 65 20 61 6e 64 |p.n.allo|cate and|
|00005cc0| 20 64 69 73 70 6f 73 65 | 20 6f 66 20 62 6c 6f 63 | dispose| of bloc|
|00005cd0| 6b 73 20 6f 66 20 6d 65 | 6d 6f 72 79 20 69 6e 20 |ks of me|mory in |
|00005ce0| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|00005cf0| 20 68 65 61 70 0d 6e 09 | 6d 69 6e 69 6d 69 7a 65 | heap.n.|minimize|
|00005d00| 20 66 72 61 67 6d 65 6e | 74 61 74 69 6f 6e 20 69 | fragmen|tation i|
|00005d10| 6e 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |n your a|pplicati|
|00005d20| 6f 6e 20 68 65 61 70 20 | 63 61 75 73 65 64 20 62 |on heap |caused b|
|00005d30| 79 20 62 6c 6f 63 6b 73 | 20 6f 66 20 6d 65 6d 6f |y blocks| of memo|
|00005d40| 72 79 20 74 68 61 74 20 | 63 61 6e 6e 6f 74 20 6d |ry that |cannot m|
|00005d50| 6f 76 65 0d 6e 09 69 6d | 70 6c 65 6d 65 6e 74 20 |ove.n.im|plement |
|00005d60| 61 20 73 63 68 65 6d 65 | 20 74 6f 20 61 76 6f 69 |a scheme| to avoi|
|00005d70| 64 20 6c 6f 77 2d 6d 65 | 6d 6f 72 79 20 63 6f 6e |d low-me|mory con|
|00005d80| 64 69 74 69 6f 6e 73 0d | 59 6f 75 20 73 68 6f 75 |ditions.|You shou|
|00005d90| 6c 64 20 62 65 20 61 62 | 6c 65 20 74 6f 20 61 63 |ld be ab|le to ac|
|00005da0| 63 6f 6d 70 6c 69 73 68 | 20 6d 6f 73 74 20 6f 66 |complish| most of|
|00005db0| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00005dc0| 6e d5 73 20 6d 65 6d 6f | 72 79 20 61 6c 6c 6f 63 |n.s memo|ry alloc|
|00005dd0| 61 74 69 6f 6e 20 61 6e | 64 20 6d 61 6e 61 67 65 |ation an|d manage|
|00005de0| 6d 65 6e 74 20 62 79 20 | 66 6f 6c 6c 6f 77 69 6e |ment by |followin|
|00005df0| 67 20 74 68 65 20 69 6e | 73 74 72 75 63 74 69 6f |g the in|structio|
|00005e00| 6e 73 20 67 69 76 65 6e | 20 69 6e 20 74 68 69 73 |ns given| in this|
|00005e10| 20 63 68 61 70 74 65 72 | 2e 20 49 66 2c 20 68 6f | chapter|. If, ho|
|00005e20| 77 65 76 65 72 2c 20 79 | 6f 75 72 20 61 70 70 6c |wever, y|our appl|
|00005e30| 69 63 61 74 69 6f 6e 20 | 6e 65 65 64 73 20 74 6f |ication |needs to|
|00005e40| 20 61 6c 6c 6f 63 61 74 | 65 20 6d 65 6d 6f 72 79 | allocat|e memory|
|00005e50| 20 6f 75 74 73 69 64 65 | 20 69 74 73 20 6f 77 6e | outside| its own|
|00005e60| 20 70 61 72 74 69 74 69 | 6f 6e 20 28 66 6f 72 20 | partiti|on (for |
|00005e70| 69 6e 73 74 61 6e 63 65 | 2c 20 69 6e 20 74 68 65 |instance|, in the|
|00005e80| 20 73 79 73 74 65 6d 20 | 68 65 61 70 29 2c 20 79 | system |heap), y|
|00005e90| 6f 75 20 6e 65 65 64 20 | 74 6f 20 72 65 61 64 20 |ou need |to read |
|00005ea0| 74 68 65 20 63 68 61 70 | 74 65 72 20 d2 4d 65 6d |the chap|ter .Mem|
|00005eb0| 6f 72 79 20 4d 61 6e 61 | 67 65 72 d3 20 69 6e 20 |ory Mana|ger. in |
|00005ec0| 74 68 69 73 20 62 6f 6f | 6b 2e 20 49 66 20 79 6f |this boo|k. If yo|
|00005ed0| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 68 |ur appli|cation h|
|00005ee0| 61 73 20 74 69 6d 69 6e | 67 2d 63 72 69 74 69 63 |as timin|g-critic|
|00005ef0| 61 6c 20 72 65 71 75 69 | 72 65 6d 65 6e 74 73 20 |al requi|rements |
|00005f00| 6f 72 20 69 6e 73 74 61 | 6c 6c 73 20 70 72 6f 63 |or insta|lls proc|
|00005f10| 65 64 75 72 65 73 20 74 | 68 61 74 20 65 78 65 63 |edures t|hat exec|
|00005f20| 75 74 65 20 61 74 20 69 | 6e 74 65 72 72 75 70 74 |ute at i|nterrupt|
|00005f30| 20 74 69 6d 65 2c 20 79 | 6f 75 20 6e 65 65 64 20 | time, y|ou need |
|00005f40| 74 6f 20 72 65 61 64 20 | 74 68 65 20 63 68 61 70 |to read |the chap|
|00005f50| 74 65 72 20 d2 56 69 72 | 74 75 61 6c 20 4d 65 6d |ter .Vir|tual Mem|
|00005f60| 6f 72 79 20 4d 61 6e 61 | 67 65 72 d3 20 69 6e 20 |ory Mana|ger. in |
|00005f70| 74 68 69 73 20 62 6f 6f | 6b 2e 20 49 66 20 79 6f |this boo|k. If yo|
|00005f80| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e d5 73 |ur appli|cation.s|
|00005f90| 20 65 78 65 63 75 74 61 | 62 6c 65 20 63 6f 64 65 | executa|ble code|
|00005fa0| 20 69 73 20 64 69 76 69 | 64 65 64 20 69 6e 74 6f | is divi|ded into|
|00005fb0| 20 6d 75 6c 74 69 70 6c | 65 20 73 65 67 6d 65 6e | multipl|e segmen|
|00005fc0| 74 73 2c 20 79 6f 75 20 | 6d 69 67 68 74 20 61 6c |ts, you |might al|
|00005fd0| 73 6f 20 77 61 6e 74 20 | 74 6f 20 6c 6f 6f 6b 20 |so want |to look |
|00005fe0| 61 74 20 74 68 65 20 63 | 68 61 70 74 65 72 20 d2 |at the c|hapter .|
|00005ff0| 53 65 67 6d 65 6e 74 20 | 4d 61 6e 61 67 65 72 d3 |Segment |Manager.|
|00006000| 20 69 6e 20 49 6e 73 69 | 64 65 20 4d 61 63 69 6e | in Insi|de Macin|
|00006010| 74 6f 73 68 3a 20 50 72 | 6f 63 65 73 73 65 73 20 |tosh: Pr|ocesses |
|00006020| 66 6f 72 20 67 75 69 64 | 65 6c 69 6e 65 73 20 6f |for guid|elines o|
|00006030| 6e 20 68 6f 77 20 74 6f | 20 64 69 76 69 64 65 20 |n how to| divide |
|00006040| 79 6f 75 72 20 63 6f 64 | 65 20 69 6e 74 6f 20 73 |your cod|e into s|
|00006050| 65 67 6d 65 6e 74 73 2e | 20 49 66 20 79 6f 75 72 |egments.| If your|
|00006060| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 75 73 65 | applica|tion use|
|00006070| 73 20 72 65 73 6f 75 72 | 63 65 73 2c 20 79 6f 75 |s resour|ces, you|
|00006080| 20 6e 65 65 64 20 74 6f | 20 72 65 61 64 20 74 68 | need to| read th|
|00006090| 65 20 63 68 61 70 74 65 | 72 20 d2 52 65 73 6f 75 |e chapte|r .Resou|
|000060a0| 72 63 65 20 4d 61 6e 61 | 67 65 72 d3 20 69 6e 20 |rce Mana|ger. in |
|000060b0| 49 6e 73 69 64 65 20 4d | 61 63 69 6e 74 6f 73 68 |Inside M|acintosh|
|000060c0| 3a 20 4d 6f 72 65 20 4d | 61 63 69 6e 74 6f 73 68 |: More M|acintosh|
|000060d0| 20 54 6f 6f 6c 62 6f 78 | 20 66 6f 72 20 69 6e 66 | Toolbox| for inf|
|000060e0| 6f 72 6d 61 74 69 6f 6e | 20 6f 6e 20 6d 61 6e 61 |ormation| on mana|
|000060f0| 67 69 6e 67 20 6d 65 6d | 6f 72 79 20 61 6c 6c 6f |ging mem|ory allo|
|00006100| 63 61 74 65 64 20 74 6f | 20 72 65 73 6f 75 72 63 |cated to| resourc|
|00006110| 65 73 2e 0d 54 68 69 73 | 20 63 68 61 70 74 65 72 |es..This| chapter|
|00006120| 20 62 65 67 69 6e 73 20 | 77 69 74 68 20 61 20 64 | begins |with a d|
|00006130| 65 73 63 72 69 70 74 69 | 6f 6e 20 6f 66 20 68 6f |escripti|on of ho|
|00006140| 77 20 74 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |w the Ma|cintosh |
|00006150| 4f 70 65 72 61 74 69 6e | 67 20 53 79 73 74 65 6d |Operatin|g System|
|00006160| 20 6f 72 67 61 6e 69 7a | 65 73 20 74 68 65 20 61 | organiz|es the a|
|00006170| 76 61 69 6c 61 62 6c 65 | 20 70 68 79 73 69 63 61 |vailable| physica|
|00006180| 6c 20 72 61 6e 64 6f 6d | 2d 61 63 63 65 73 73 20 |l random|-access |
|00006190| 6d 65 6d 6f 72 79 20 28 | 52 41 4d 29 20 69 6e 20 |memory (|RAM) in |
|000061a0| 61 20 4d 61 63 69 6e 74 | 6f 73 68 20 63 6f 6d 70 |a Macint|osh comp|
|000061b0| 75 74 65 72 20 61 6e 64 | 20 68 6f 77 20 69 74 20 |uter and| how it |
|000061c0| 61 6c 6c 6f 63 61 74 65 | 73 20 6d 65 6d 6f 72 79 |allocate|s memory|
|000061d0| 20 74 6f 20 6f 70 65 6e | 20 61 70 70 6c 69 63 61 | to open| applica|
|000061e0| 74 69 6f 6e 73 2e 20 54 | 68 65 6e 20 74 68 69 73 |tions. T|hen this|
|000061f0| 20 63 68 61 70 74 65 72 | 20 64 65 73 63 72 69 62 | chapter| describ|
|00006200| 65 73 20 69 6e 20 64 65 | 74 61 69 6c 20 68 6f 77 |es in de|tail how|
|00006210| 20 74 68 65 20 4d 65 6d | 6f 72 79 20 4d 61 6e 61 | the Mem|ory Mana|
|00006220| 67 65 72 20 61 6c 6c 6f | 63 61 74 65 73 20 62 6c |ger allo|cates bl|
|00006230| 6f 63 6b 73 20 6f 66 20 | 6d 65 6d 6f 72 79 20 69 |ocks of |memory i|
|00006240| 6e 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |n your a|pplicati|
|00006250| 6f 6e d5 73 20 68 65 61 | 70 20 61 6e 64 20 68 6f |on.s hea|p and ho|
|00006260| 77 20 74 6f 20 75 73 65 | 20 74 68 65 20 72 6f 75 |w to use| the rou|
|00006270| 74 69 6e 65 73 20 70 72 | 6f 76 69 64 65 64 20 62 |tines pr|ovided b|
|00006280| 79 20 74 68 65 20 4d 65 | 6d 6f 72 79 20 4d 61 6e |y the Me|mory Man|
|00006290| 61 67 65 72 20 74 6f 20 | 70 65 72 66 6f 72 6d 20 |ager to |perform |
|000062a0| 74 68 65 20 6d 65 6d 6f | 72 79 2d 6d 61 6e 61 67 |the memo|ry-manag|
|000062b0| 65 6d 65 6e 74 20 74 61 | 73 6b 73 20 6c 69 73 74 |ement ta|sks list|
|000062c0| 65 64 20 61 62 6f 76 65 | 2e 0d 54 68 69 73 20 63 |ed above|..This c|
|000062d0| 68 61 70 74 65 72 20 65 | 6e 64 73 20 77 69 74 68 |hapter e|nds with|
|000062e0| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 73 20 6f 66 | descrip|tions of|
|000062f0| 20 74 68 65 20 72 6f 75 | 74 69 6e 65 73 20 75 73 | the rou|tines us|
|00006300| 65 64 20 74 6f 20 70 65 | 72 66 6f 72 6d 20 74 68 |ed to pe|rform th|
|00006310| 65 73 65 20 74 61 73 6b | 73 2e 20 54 68 65 20 d2 |ese task|s. The .|
|00006320| 4d 65 6d 6f 72 79 20 4d | 61 6e 61 67 65 6d 65 6e |Memory M|anagemen|
|00006330| 74 20 52 65 66 65 72 65 | 6e 63 65 d3 20 61 6e 64 |t Refere|nce. and|
|00006340| 20 d2 53 75 6d 6d 61 72 | 79 20 6f 66 20 4d 65 6d | .Summar|y of Mem|
|00006350| 6f 72 79 20 4d 61 6e 61 | 67 65 6d 65 6e 74 d3 20 |ory Mana|gement. |
|00006360| 73 65 63 74 69 6f 6e 73 | 20 0d 69 6e 20 74 68 69 |sections| .in thi|
|00006370| 73 20 63 68 61 70 74 65 | 72 20 61 72 65 20 73 75 |s chapte|r are su|
|00006380| 62 73 65 74 73 20 6f 66 | 20 74 68 65 20 63 6f 72 |bsets of| the cor|
|00006390| 72 65 73 70 6f 6e 64 69 | 6e 67 20 73 65 63 74 69 |respondi|ng secti|
|000063a0| 6f 6e 73 20 69 6e 20 74 | 68 65 20 72 65 6d 61 69 |ons in t|he remai|
|000063b0| 6e 69 6e 67 20 63 68 61 | 70 74 65 72 73 20 69 6e |ning cha|pters in|
|000063c0| 20 0d 74 68 69 73 20 62 | 6f 6f 6b 2e 0d 41 62 6f | .this b|ook..Abo|
|000063d0| 75 74 20 4d 65 6d 6f 72 | 79 0d 41 20 4d 61 63 69 |ut Memor|y.A Maci|
|000063e0| 6e 74 6f 73 68 20 63 6f | 6d 70 75 74 65 72 d5 73 |ntosh co|mputer.s|
|000063f0| 20 61 76 61 69 6c 61 62 | 6c 65 20 52 41 4d 20 69 | availab|le RAM i|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.